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:
parent
bf0e1bdc8c
commit
f752eb2ad0
3 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue