Skip to content

Commit

Permalink
ar(fix) json malformed
Browse files Browse the repository at this point in the history
  • Loading branch information
angeloreale committed Aug 26, 2024
1 parent 2c5ac20 commit e65c807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/api/v1/public/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const generateErrorResponse = (e: any, status: number) => {
return {
ok: false,
status,
message: e.message,
message: `${e?.message}`,
};
};

Expand Down
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 @@ -15,7 +15,7 @@ const generateErrorResponse = (e: any, status: number) => {
return {
ok: false,
status,
message: e?.message,
message: `${e?.message}`,
};
};

Expand Down

0 comments on commit e65c807

Please sign in to comment.