generated from nhcarrigan/template
feat: add suggestion feature
This commit is contained in:
@@ -25,6 +25,6 @@ export async function bannedGuard(
|
||||
|
||||
const isBanned = await userService.isUserBanned(user.id);
|
||||
if (isBanned) {
|
||||
return reply.code(403).send({ error: "You have been banned from commenting" });
|
||||
return reply.code(403).send({ error: "You have been banned" });
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user