mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-02 11:50:46 +08:00
Ensure all the API routes reject banned users
This commit is contained in:
1 parent
600f7f7381
commit
d94cb4b2d6
13 files changed
+51
-117
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import withRole from "src/lib/auth";
|
||||
import { withRole } from "src/lib/auth";
|
||||
import prisma from "src/lib/prismadb";
|
||||
|
||||
/**
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import withRole from "src/lib/auth";
|
||||
import { withRole } from "src/lib/auth";
|
||||
import prisma from "src/lib/prismadb";
|
||||
|
||||
// The number of users to fetch in any request.
|
||||
|
||||
Reference in new issue
Block a user