Skip to content

Commit

Permalink
Improved photo API.
Browse files Browse the repository at this point in the history
  • Loading branch information
Spytex committed Jul 12, 2023
1 parent c8e1373 commit ec67f0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/pages/api/photo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ const handler: NextApiHandler = async (req, res) => {
}
await readFile(req, true);
res.json({done: "ok"});
} else {
res.status(405).json({ message: "Method not supported" });
}
};

Expand Down

0 comments on commit ec67f0b

Please sign in to comment.