Skip to content

Commit

Permalink
V2.0.2.1 (#261)
Browse files Browse the repository at this point in the history
* Remove 400 call for non-implemented eventts.

Instead just say we accepted but will not act upon it.

* Bump Version

Minor version bump.
  • Loading branch information
PhlexPlexico committed Jul 26, 2023
1 parent 629bb29 commit 5df29b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "g5api",
"version": "2.0.2.0",
"version": "2.0.2.1",
"private": true,
"type": "module",
"licenses": [
Expand Down
2 changes: 1 addition & 1 deletion src/routes/v2/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ router.post("/", basicRateLimit, async (req, res) => {
);
break;
default:
res.status(400).send({message: `Event ${eventType.event} is not implemented.`});
res.status(202).send({message: `Event ${eventType.event} is not implemented.`});
break;
}
// Responses are taken care of in the case statements.
Expand Down

0 comments on commit 5df29b5

Please sign in to comment.