Skip to content

Commit

Permalink
Return proper response.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecao committed Dec 29, 2024
1 parent 4ddf8d0 commit 64312d2
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 @@ -103,7 +103,7 @@ export default async (req: NextApiRequestCollect, res: NextApiResponse) => {
const session = req.session;

if (!session?.id || !session?.websiteId) {
return;
return ok(res, {});
}

const iat = Math.floor(new Date().getTime() / 1000);
Expand Down

0 comments on commit 64312d2

Please sign in to comment.