mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-17 00:14:39 -05: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) {
|
app.get("/my-acc", async function (req, res) {
|
||||||
var userid = req.query.ID;
|
var userid = req.query.ID;
|
||||||
|
|
||||||
// Check if userid is more than 6 characters
|
// Check if userid is more than 7 characters
|
||||||
if (userid.length > 6) {
|
if (userid.length > 7) {
|
||||||
return res.status(400).json({ error: "IDs can be 6 characters max silly :3" });
|
return res.status(400).json({ error: "IDs can be 7 characters max silly :3" });
|
||||||
}
|
}
|
||||||
|
|
||||||
var userSubs = db.get(`user.${userid}.subs`);
|
var userSubs = db.get(`user.${userid}.subs`);
|
||||||
|
|
Loading…
Reference in a new issue