diff options
author | Puyodead1 <puyodead@proton.me> | 2022-12-23 18:37:11 -0500 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-03-18 19:27:40 -0400 |
commit | 02a4a6998d091e76c35fc1d0768c629ba1862c63 (patch) | |
tree | d92906b548823fdab3b8eb8af50878815d509587 | |
parent | Refreshable connections, refactoring, access-token endpoint (diff) | |
download | server-02a4a6998d091e76c35fc1d0768c629ba1862c63.tar.xz |
Update todo in access-token route
-rw-r--r-- | src/api/routes/users/@me/connections/#connection_name/#connection_id/access-token.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); |