Revert "undo commit"

This reverts commit 9103f67db5.
This commit is contained in:
daniel31x13
2024-11-03 03:27:52 -05:00
parent e37702aa14
commit dbd096ab76
176 changed files with 2362 additions and 9401 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export default async function tokens(
"This action is disabled because this is a read-only demo of Linkwarden.",
});
const token = await postToken(req.body, user.id);
const token = await postToken(JSON.parse(req.body), user.id);
return res.status(token.status).json({ response: token.response });
} else if (req.method === "GET") {
const token = await getTokens(user.id);