Skip to content

Commit

Permalink
remove faulty check
Browse files Browse the repository at this point in the history
  • Loading branch information
maamokun committed Aug 12, 2024
1 parent 65012c3 commit e900ea3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: curl -fsSL https://bun.sh/install | bash && bun start
web: bun start
5 changes: 0 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,6 @@ app.get("/level", async ({ query, set }) => {
return "Invalid image URL";
}

if (currentXP > totalXP) {
set.status = 400;
return "Current XP cannot be greater than total XP";
}

const levelImage = await createLevel({
level: level,
username: username,
Expand Down

0 comments on commit e900ea3

Please sign in to comment.