This commit is contained in:
Adria Navarro 2025-03-13 10:59:30 +01:00
parent 52312a7f67
commit c2acd10096
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ import fetch from "node-fetch"
import { HttpError } from "koa"
import { get } from "../oauth2"
// TODO: check if caching is worth
export async function generateToken(id: string) {
const config = await get(id)
if (!config) {