From 1735f548d683f511f557d54604a257b8c5f89e9a Mon Sep 17 00:00:00 2001 From: ashley Date: Sat, 11 May 2024 02:40:23 +0000 Subject: [PATCH] AM DUMB SORRY --- src/libpoketube/init/pages-account.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libpoketube/init/pages-account.js b/src/libpoketube/init/pages-account.js index d5e1f7b4..40bf6645 100644 --- a/src/libpoketube/init/pages-account.js +++ b/src/libpoketube/init/pages-account.js @@ -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`);