small fixes

This commit is contained in:
Laurin
2022-06-06 19:31:54 +02:00
parent de0c457fd8
commit 0b7756d428
8 changed files with 70 additions and 52 deletions
+2
View File
@@ -5,6 +5,8 @@ import argon2 from "argon2";
import { AUTH_ERROR, createInsufficientPermissionsError, DataType, generateInvalidBodyError } from "./common";
import { authClient } from "../lib/redis";
require("express-async-errors");
export const regenerateRevision = async (pid: string) => {
// TOOO: Add error handling
const { revision } = await prisma.admin.update({