Skip to content

Commit 1fe6d7e

Browse files
committed
change dealId to deal
1 parent 282fee6 commit 1fe6d7e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Modules/IexecPoco.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -436,12 +436,11 @@ export function handleFaultyContribution(event: FaultyContributionEvent): void {
436436
workerAccount.score = faultyContributionEvent.score;
437437
workerAccount.save();
438438
}
439-
440439
export function handleDealSponsored(event: DealSponsoredEvent): void {
441440
let dealSponsoredEvent = new DealSponsored(createEventID(event));
442441
dealSponsoredEvent.transaction = logTransaction(event).id;
443442
dealSponsoredEvent.timestamp = event.block.timestamp;
444-
dealSponsoredEvent.dealId = event.params.dealId.toHex();
443+
dealSponsoredEvent.deal = event.params.dealId.toHex();
445444
dealSponsoredEvent.sponsor = event.params.sponsor.toHex();
446445
dealSponsoredEvent.save();
447446
}

0 commit comments

Comments
 (0)