Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/constants/error.constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const ErrorCode = {
FORBIDDEN: 'FORBIDDEN',
CONFLICT: 'CONFLICT',
BAD_REQUEST: 'BAD_REQUEST',
UNPROCESSABLE_ENTITY: 'UNPROCESSABLE_ENTITY',
INTERNAL_ERROR: 'INTERNAL_ERROR',
RATE_LIMIT: 'RATE_LIMIT',
PRISMA_ERROR: 'DATABASE_ERROR',
Expand Down
4 changes: 1 addition & 3 deletions src/modules/creator/creator.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ creatorsRouter.post(
'capBps must be between 100 and 2500'
);
return;
} const keyId = Array.isArray(req.params.keyId)
? req.params.keyId[0]
: req.params.keyId;
}

const keyId = Array.isArray(req.params.keyId)
? req.params.keyId[0]
Expand Down
Loading