Skip to content

Commit

Permalink
ar(fix) bots shield
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloreale committed Aug 27, 2024
1 parent 20ab329 commit b0311dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/v1/user/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const generateErrorResponse = (e: any, status: number) => {
// export const dynamic = 'force-static';

export async function POST(request: CombineRequest) {
const response = { error: generateErrorResponse({ message: 'Code 000/0: Non-identified error.' }) };
const response = { error: generateErrorResponse({ message: 'Code 000/0: Non-identified error.' }, 500) };
try {
const healthSecret =
request?.headers?.get('x-dp-keepalive') ||
Expand Down

0 comments on commit b0311dc

Please sign in to comment.