Skip to content

Commit

Permalink
chore: return 500
Browse files Browse the repository at this point in the history
  • Loading branch information
JBR90 committed Nov 6, 2024
1 parent dde6c14 commit a4583ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/nextjs/src/app/api/cron-jobs/expired-exports/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ export async function GET(request: NextRequest) {
await deleteExpiredExports(validFileIds);
} catch (error) {
Sentry.captureException(error);
return new Response("Internal Server Error", { status: 500 });
}

return new Response(JSON.stringify({ success: true }), { status: 200 });
Expand Down

0 comments on commit a4583ea

Please sign in to comment.