Skip to content

Commit

Permalink
Check for requirements on agent behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
fforres committed Dec 2, 2024
1 parent 414903d commit c20f37c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/schema/purchaseOrder/tests/createPurchaseOrder.test.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,9 @@ const priceHelpers = {

if (existingPrices.length > 0) {
const pricesToUpdate = existingPrices.map((ep) => {
const valueInCents = prices.find((p) => p.currencyId === ep.currencyId)
?.value_in_cents;
const valueInCents = prices.find(
(p) => p.currencyId === ep.currencyId,
)?.value_in_cents;

if (!valueInCents) {
throw applicationError(
Expand Down
2 changes: 0 additions & 2 deletions src/schema/userTickets/mutations/claimUserTicket/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,6 @@ async function processTicketClaim({

const normalizedInput = normalizeTicketClaimInput(purchaseOrder, logger);

console.log("normalizedInput", normalizedInput);

// Validate ticket requirements for each ticket being claimed
await Promise.all(
Object.keys(normalizedInput).map(async (ticketId) => {
Expand Down

0 comments on commit c20f37c

Please sign in to comment.