Add todo
This commit is contained in:
parent
52312a7f67
commit
c2acd10096
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue