Closed abhiShandy closed 4 months ago
api/resolvers/item.js (1)
`869-871`: Ensure proper handling of deleted items. The addition of a check for `item.deletedAt` to throw a `GraphQLError` if the item is deleted is a good practice. This ensures that no actions can be performed on deleted items, aligning with the PR's objectives.
Description
fixes #1139
Screenshots
Additional Context
Checklist
Are your changes backwards compatible? Please answer below:
Did you QA this? Could we deploy this straight to production? Please answer below:
For frontend changes: Tested on mobile? Please answer below:
Did you introduce any new environment variables? If so, call them out explicitly here: