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 { HttpError } from "koa"
|
||||||
import { get } from "../oauth2"
|
import { get } from "../oauth2"
|
||||||
|
|
||||||
|
// TODO: check if caching is worth
|
||||||
export async function generateToken(id: string) {
|
export async function generateToken(id: string) {
|
||||||
const config = await get(id)
|
const config = await get(id)
|
||||||
if (!config) {
|
if (!config) {
|
||||||
|
|
Loading…
Reference in New Issue