Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
tako0614 committed Feb 20, 2024
1 parent 60f19ee commit f66b31d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions routes/api/logins/register.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ export const handler = {
headers: { "Content-Type": "application/json" },
});
}
} else {
return new Response(JSON.stringify({"status": "error"}), {
headers: { "Content-Type": "application/json" },
});
}
}
}
};
Expand Down

1 comment on commit f66b31d

@deno-deploy
Copy link
Contributor

@deno-deploy deno-deploy bot commented on f66b31d Feb 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

The module's source code could not be parsed: Expression expected at file:///src/routes/api/logins/register.js:54:1

  };
  ~

Please sign in to comment.