Refactor admin actions and improve code formatting: Standardize import statements, enhance error handling messages, and apply consistent formatting across event, user, and preference management functions for better readability and maintainability.
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
Some checks failed
Deploy with Docker Compose / deploy (push) Has been cancelled
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
import { prisma } from "../database";
|
||||
import type {
|
||||
Event,
|
||||
Prisma,
|
||||
} from "@/prisma/generated/prisma/client";
|
||||
import type { Event, Prisma } from "@/prisma/generated/prisma/client";
|
||||
import { EventType } from "@/prisma/generated/prisma/client";
|
||||
import { ValidationError, NotFoundError } from "../errors";
|
||||
import { calculateEventStatus } from "@/lib/eventStatus";
|
||||
|
||||
Reference in New Issue
Block a user