Skip to content

Commit 5e146f4

Browse files
committed
update to dealId
1 parent c0cae68 commit 5e146f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

schema.graphql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ type DealSponsored implements DealEvent @entity {
440440
id: ID!
441441
transaction: Transaction!
442442
timestamp: BigInt!
443-
deal: Deal!
443+
dealId: Deal!
444444
sponsor: Account!
445445
}
446446

src/Modules/IexecPoco.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ export function handleDealSponsored(event: DealSponsoredEvent): void {
428428
let dealSponsoredEvent = new DealSponsored(createEventID(event));
429429
dealSponsoredEvent.transaction = logTransaction(event).id;
430430
dealSponsoredEvent.timestamp = event.block.timestamp;
431-
dealSponsoredEvent.deal = event.params.dealId.toHex();
431+
dealSponsoredEvent.dealId = event.params.dealId.toHex();
432432
dealSponsoredEvent.sponsor = event.params.sponsor.toHex();
433433
dealSponsoredEvent.save();
434434
}

0 commit comments

Comments
 (0)