Ensure all the API routes reject banned users

This commit is contained in:
Keith Stevens committed 2023-01-10 19:16:13 +09:00
1 parent 600f7f7381
commit d94cb4b2d6
13 files changed
+51 -117

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
import withRole from "src/lib/auth";
import { withRole } from "src/lib/auth";
import prisma from "src/lib/prismadb";
/**
+1 -1
View File
@@ -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.