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
|
// spotify is disabled here because it cant be used
|
||||||
const ALLOWED_CONNECTIONS = ["twitch", "youtube"];
|
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) => {
|
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_name, connection_id } = req.params;
|
||||||
|
|
||||||
const connection = ConnectionStore.connections.get(connection_id);
|
const connection = ConnectionStore.connections.get(connection_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user