Skip to content

Commit

Permalink
fixing bug at subRoutes.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kennyg37 committed Apr 25, 2024
1 parent 2402d2f commit 19858c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/routes/subRoutes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ router.post('/add', async (req: Request, res: Response) => {
subscribedAt: Date.now(),
subscribed: true
})

await info.save();
res.json('Subscribed successfully')
})

Expand Down

0 comments on commit 19858c1

Please sign in to comment.