Skip to content

Commit

Permalink
fix response status
Browse files Browse the repository at this point in the history
  • Loading branch information
Dreamyplayer authored Jun 20, 2021
1 parent 7fb1a77 commit f65bd29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ let num = 1;
},
})
.then(res => {
if (res.ok === 429) {
if (res.status === 429) {
process.exit(0);
} else if (res.ok === 200) {
} else if (res.status === 200) {
console.log(`🎉 Found Working Discord Nitro 🎉 \nhttps://discord.gift/${codes}`);

const WEBHOOK_URL = undefined;
Expand Down

0 comments on commit f65bd29

Please sign in to comment.