1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +00:00

Rename apiAuth file to authorizeUser

This commit is contained in:
Steffo 2022-05-31 16:39:56 +02:00
parent bf0e1bdc8c
commit f752eb2ad0
Signed by: steffo
GPG key ID: 6965406171929D01
3 changed files with 2 additions and 2 deletions

View file

@ -4,7 +4,7 @@ import { ApiResult } from "../../../types/api";
import { Model, restInPeace } from "../../../utils/restInPeace";
import { default as cryptoRandomString} from "crypto-random-string";
import { handleInterrupts, Interrupt } from "../../../utils/interrupt";
import { authorizeUser } from "../../../utils/apiAuth";
import { authorizeUser } from "../../../utils/authorizeUser";
import { Event } from "@prisma/client";

View file

@ -3,7 +3,7 @@ import { NextApiRequest, NextApiResponse } from "next";
import { ApiResult } from "../../../types/api";
import { restInPeace } from "../../../utils/restInPeace";
import { handleInterrupts } from "../../../utils/interrupt";
import { authorizeUser } from "../../../utils/apiAuth";
import { authorizeUser } from "../../../utils/authorizeUser";
import { Event } from "@prisma/client";