Skip to content

Commit

Permalink
Removed session output.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed Jan 9, 2025
1 parent c39f5f4 commit 3a20680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/api/send.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default async (req: NextApiRequestCollect, res: NextApiResponse) => {

const cache = createToken(session, secret());

return ok(res, { ...session, cache });
return ok(res, { cache });
}

return methodNotAllowed(res);
Expand Down

0 comments on commit 3a20680

Please sign in to comment.