Skip to content

Commit

Permalink
Ignore gift set names
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Aug 3, 2024
1 parent 9c8f6a7 commit cd2775b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/server/src/trpc/routes/priceCreateBatch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ export default adminProcedure
})
.onConflictDoNothing();

const ignored = !!name.match(/ (bundle|gifting set|\d+ pack)$/i);
const ignored = !!name.match(
/ (bundle|gifting set|gift set|\d+ pack)$/i,
);

if (bottleId) {
await upsertBottleAlias(tx, name, bottleId);
Expand Down

0 comments on commit cd2775b

Please sign in to comment.