Started to do animations | DO NOT USE IN PROD
diff --git a/pages/api/rsmv/complete.js b/pages/api/rsmv/complete.js
index 002caee..6cdd97a 100644
--- a/pages/api/rsmv/complete.js
+++ b/pages/api/rsmv/complete.js
@@ -2,12 +2,12 @@
const Complete = async (req, res) => {
let code = await Axios.post('http://127.0.0.1:3000/api/rsmv/validate', {code:req.body.code});
- if (code.status != 200) {
+ if (code.status !== 200) {
return res.send(404);
}
- if (code.data.user != req.body.uid) return res.send(401)
- if (code.data.guild != req.body.gid) return res.send(401)
- if (code.data.role != req.body.rid) return res.send(401)
+ if (code.data.user !== req.body.uid) return res.send(401)
+ if (code.data.guild !== req.body.gid) return res.send(401)
+ if (code.data.role !== req.body.rid) return res.send(401)
let secret = "slwu0rZV5W6WdmGtgI16du8Ar2tQGMr3Q9dE6u3poKiVODNV9SweaA3buawgkTmTuITXDWOUpBcTFA0qWrUvoshi1JB180WOFwA7"
let resp = await Axios.get(