This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXPLAIN ANALYZE | |
SELECT "Game"."id" FROM "Game" | |
WHERE ("Game"."id") | |
IN (SELECT "t0"."id" FROM "Game" AS "t0" INNER JOIN "Player" AS "j0" ON ("j0"."id") = ("t0"."playerId") WHERE ("j0"."id" = 'gargoyl')) | |
ORDER BY "Game"."startAt" ASC | |
LIMIT 1 | |
QUERY PLAN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const openTgWindow = (options: { | |
bot_id: string; | |
request_access?: boolean; | |
lang?: string; | |
}, callback) => { | |
let timeoutId = null; | |
const popup_url = | |
'https://oauth.telegram.org/auth?bot_id=' + | |
encodeURIComponent(options.bot_id) + |