Skip to content

Commit

Permalink
fixup!
Browse files Browse the repository at this point in the history
  • Loading branch information
N2D4 committed Jun 16, 2024
1 parent a442dfa commit 53bf8ec
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/stack-server/src/app/api/v1/current-user/crud.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { createCrudHandlers } from "@/route-handlers/crud-handler";
import { KnownErrors } from "@stackframe/stack-shared";
import { currentUserCrud } from "@stackframe/stack-shared/dist/interface/crud/current-user";

console.log("BBBBBBBB CRUD");

export const currentUserCrudHandlers = createCrudHandlers(currentUserCrud, {
paramNames: [],
async onRead({ auth }) {
Expand Down
3 changes: 3 additions & 0 deletions packages/stack-server/src/app/api/v1/current-user/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@ console.log("AAAAAAAA ROUTE");

import { currentUserCrudHandlers } from "./crud";


console.log("BBBBBBBB ROUTE");

export const GET = currentUserCrudHandlers.readHandler;
export const PUT = currentUserCrudHandlers.updateHandler;

0 comments on commit 53bf8ec

Please sign in to comment.