Skip to content

Commit

Permalink
Fix non content
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Oct 13, 2024
1 parent 0015191 commit 7b6096e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/api/src/handlers/updater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ app.get("/:target/:arch/:currentVersion", async (c) => {
});

if (currentVersion === latestVersion?.version) {
return c.json({}, 204);
return c.body(null, 204);
}

return c.json(latestVersion);
Expand Down

0 comments on commit 7b6096e

Please sign in to comment.