Skip to content

Commit

Permalink
auth workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
radityaharya committed Apr 24, 2024
1 parent 58bf1e7 commit 521d642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewares/handlers/userApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Logger } from "~/lib/log";

const logger = new Logger("middleware:userApi");

const matchPaths = ["/api/user"];
const matchPaths = ["/api/user", "/api/workflow"];

async function getSession(req: NextRequest) {
const response = await fetch(process.env.NEXTAUTH_URL + "/api/auth/session", {
Expand Down

0 comments on commit 521d642

Please sign in to comment.