Skip to content

Commit

Permalink
correct id
Browse files Browse the repository at this point in the history
  • Loading branch information
ldscavo committed Oct 1, 2024
1 parent 77b51de commit a7fb68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/services/itemService.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {

getItemById: async id =>
await knex('items')
.where({ id: req.params.id })
.where({ id: id })
.first(),

addItemToRecipient: async (recipientId, item) => {
Expand Down

0 comments on commit a7fb68a

Please sign in to comment.