Skip to content

Commit

Permalink
Update addPages.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
azdak committed Nov 26, 2024
1 parent 9dcef06 commit af93db1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/routes/addPages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import {ScanResponse, ScanResponseJob} from "#src/utils/interfaces";
export const addPages = async ({ request, reply }) => {
// check input for errors
if (!request.body.mode) {
return request.body;
return {
status: "error",
message: 'The "mode" field is required.',
Expand Down

0 comments on commit af93db1

Please sign in to comment.