mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-10 04:32:35 +01:00
Update todo in access-token route
This commit is contained in:
parent
0db1fa5f0b
commit
02a4a6998d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user