mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-22 17:17:49 +01:00
AM DUMB SORRY
This commit is contained in:
parent
c49abee128
commit
1735f548d6
1 changed files with 3 additions and 3 deletions
|
@ -107,9 +107,9 @@ app.get("/account-create", async function (req, res) {
|
|||
app.get("/my-acc", async function (req, res) {
|
||||
var userid = req.query.ID;
|
||||
|
||||
// Check if userid is more than 6 characters
|
||||
if (userid.length > 6) {
|
||||
return res.status(400).json({ error: "IDs can be 6 characters max silly :3" });
|
||||
// Check if userid is more than 7 characters
|
||||
if (userid.length > 7) {
|
||||
return res.status(400).json({ error: "IDs can be 7 characters max silly :3" });
|
||||
}
|
||||
|
||||
var userSubs = db.get(`user.${userid}.subs`);
|
||||
|
|
Loading…
Reference in a new issue