src/backend/lib/request/validations/implementations/crud-enabled.ts
Function crudEnabledValidationImpl
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const crudEnabledValidationImpl: ValidationImplType<void> = async (
req,
action: unknown
) => {
progammingError("Please provide the action for the CRUD check", !action);