Skip to content

Commit

Permalink
Change tDesktop Scheme Location (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
SpEcHiDe authored May 9, 2024
1 parent 0964cd7 commit 6a6c979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/update-schema/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ async function start() {
const currentLayerNumber = parseInt(currentSchema.match(layerRegex)[1])
console.log("Latest fetched layer number:", currentLayerNumber)

const { body: latestSchema } = await request(`https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/Resources/tl/api.tl?${Date.now()}`)
const { body: latestSchema } = await request(`https://raw.githubusercontent.com/telegramdesktop/tdesktop/dev/Telegram/SourceFiles/mtproto/scheme/api.tl?${Date.now()}`)
const newLayerNumber = parseInt(latestSchema.match(layerRegex)[1])
console.log("New fetched layer number:", newLayerNumber)

Expand Down

0 comments on commit 6a6c979

Please sign in to comment.