Updating dependencies
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
User user
2021-06-02 10:11:52 +02:00
parent 6e561bd30f
commit 97a6b45c92
11 changed files with 6911 additions and 2577 deletions

View File

@ -37,7 +37,7 @@ V1.post("/db/:database/query", async (ctx) => {
}
if (authkey && db.publickey) {
let res = await verifyJWT(authkey, db.publickey);
let res = await verifyJWT(authkey as string, db.publickey);
if (res && !res.uid && res.user) res.uid = res.user;
if (!res || !res.uid) {
throw new BadRequestError("Invalid JWT");