fix typo in update endpoint

This commit is contained in:
Syahdan Hafiz Ashari 2025-05-27 21:15:47 +07:00
parent bc7331ee64
commit c389dcf95f

View File

@ -43,7 +43,7 @@ app.group("/api", (app) => {
({ body: { food, id } }) => {
if (data.foods[id] === undefined) {
return {
status: "errror",
status: "error",
message: `${id} does not exist.`,
};
}