mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-07-29 11:15:42 +08:00
Ensure all the API routes reject banned users
This commit is contained in:
@@ -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