Skip to content

Commit

Permalink
fixed ?
Browse files Browse the repository at this point in the history
Co-authored-by: liannejl <[email protected]>
  • Loading branch information
arralia and liannejl committed Dec 14, 2023
1 parent 3d597b5 commit d934727
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions routes/catalog.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ catalogRouter.post('/', async (req, res) => {
VALUES ($1, $2, $3, $4, $5, $6, $7);`,
[id, host, title, eventType, subject, description, year],
);
res.status(201).json({
status: 'Success',
});
res.status(201).json({ id, status: 'Success' });
} catch (err) {
res.status(500).json({
status: 'Failed',
Expand Down

0 comments on commit d934727

Please sign in to comment.