Skip to content

Commit c20f37c

Browse files
committed
Check for requirements on agent behaviour
1 parent 414903d commit c20f37c

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

src/schema/purchaseOrder/tests/createPurchaseOrder.test.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/schema/ticketAddons/helpers/createUpdateAddonMutationHelpers.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,9 @@ const priceHelpers = {
127127

128128
if (existingPrices.length > 0) {
129129
const pricesToUpdate = existingPrices.map((ep) => {
130-
const valueInCents = prices.find((p) => p.currencyId === ep.currencyId)
131-
?.value_in_cents;
130+
const valueInCents = prices.find(
131+
(p) => p.currencyId === ep.currencyId,
132+
)?.value_in_cents;
132133

133134
if (!valueInCents) {
134135
throw applicationError(

src/schema/userTickets/mutations/claimUserTicket/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,6 @@ async function processTicketClaim({
154154

155155
const normalizedInput = normalizeTicketClaimInput(purchaseOrder, logger);
156156

157-
console.log("normalizedInput", normalizedInput);
158-
159157
// Validate ticket requirements for each ticket being claimed
160158
await Promise.all(
161159
Object.keys(normalizedInput).map(async (ticketId) => {

0 commit comments

Comments
 (0)