mirror of
https://github.com/detleph/server.git
synced 2026-09-04 08:36:06 +02:00
small fixes
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user