Fix recent messages

This commit is contained in:
notmd
2023-01-22 15:50:23 +07:00
parent 3b5b6669a5
commit 952c61f461
+1
View File
@@ -4,6 +4,7 @@ const handler = withoutRole("banned", async (req, res, token) => {
//TODO: add params if needed
const params = new URLSearchParams({
username: token.sub,
auth_method: "local",
});
const messagesRes = await fetch(`${process.env.FASTAPI_URL}/api/v1/messages?${params}`, {