From 02a4a6998d091e76c35fc1d0768c629ba1862c63 Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Fri, 23 Dec 2022 18:37:11 -0500 Subject: Update todo in access-token route --- .../@me/connections/#connection_name/#connection_id/access-token.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/api/routes/users/@me/connections/#connection_name/#connection_id/access-token.ts b/src/api/routes/users/@me/connections/#connection_name/#connection_id/access-token.ts index 8d51a770..760f8135 100644 --- a/src/api/routes/users/@me/connections/#connection_name/#connection_id/access-token.ts +++ b/src/api/routes/users/@me/connections/#connection_name/#connection_id/access-token.ts @@ -15,8 +15,8 @@ const router = Router(); // spotify is disabled here because it cant be used const ALLOWED_CONNECTIONS = ["twitch", "youtube"]; +// NOTE: this route has not been extensively tested, as the required connections are not implemented as of writing router.get("/", route({}), async (req: Request, res: Response) => { - // TODO: get the current access token or refresh it if it's expired const { connection_name, connection_id } = req.params; const connection = ConnectionStore.connections.get(connection_id); -- cgit 1.4.1