Skip to content

Commit 9c160da

Browse files
authored
Update src/service/routes/push.js
1 parent bb5ba8b commit 9c160da

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/service/routes/push.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,6 @@ router.post('/:id/authorise', async (req, res) => {
9191

9292
if (req.user && attestationComplete) {
9393
const id = req.params.id;
94-
if (typeof id !== "string") {
95-
res.status(400).send({ message: "Invalid ID format" });
96-
return;
97-
}
9894
console.log({ id });
9995

10096
// Get the push request

0 commit comments

Comments
 (0)