Skip to content

Commit

Permalink
test push
Browse files Browse the repository at this point in the history
  • Loading branch information
dowhep committed Apr 9, 2024
1 parent a7a674b commit 141ba0e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions services/MerchStoreService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,10 +343,12 @@ export default class MerchStoreService {

if (updatedCollection) {
const collection = await Repositories
.merchStoreCollection(txn)
.findByUuid(updatedCollection);
.merchStoreCollection(txn)
.findByUuid(updatedCollection);
if (!collection) throw new NotFoundError('Merch collection not found');
updatedItem.collection = collection;
}

return merchItemRepository.upsertMerchItem(updatedItem);
});
}
Expand Down

0 comments on commit 141ba0e

Please sign in to comment.