This commit is contained in:
MeowcaTheoRange 2023-07-03 00:30:31 -05:00
commit 276d85dfdb

View file

@ -46,6 +46,7 @@ export default async function handler(
name: query.user
});
if (checkUser == null) return res.status(404).end();
// Make sure to reverse methods so that way other owners can edit this troll
if (!compareCredentials(checkUser, cookies)) {
const thisUser = await getSingleUser({
name: cookies.TROLLCALL_NAME