mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-13 21:01:21 +08:00
Improve style
This commit is contained in:
parent
a0dc6f6782
commit
4028762201
@ -6,7 +6,7 @@ import { usersCrud } from "@stackframe/stack-shared/dist/interface/crud/users";
|
||||
export const usersCrudHandlers = createPrismaCrudHandlers(usersCrud, "projectUser", {
|
||||
paramNames: ["userId"],
|
||||
baseFields: async ({ auth, params }) => {
|
||||
const projectId = auth?.project.id;
|
||||
const projectId = auth.project.id;
|
||||
const userId = params.userId;
|
||||
return {
|
||||
projectId,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user