Skip to content

Commit

Permalink
fix: column name (events)
Browse files Browse the repository at this point in the history
  • Loading branch information
ps1dr3x committed Dec 10, 2024
1 parent 322a34e commit c8b5a22
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/parsers/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const parseClaim = (chainId: string, e: IEvent): EventMutationInput => {
] = payments;

return {
chainId,
chain_id: chainId,
name: Event.Claim,
transaction_hash: e.transactionHash,
block_number: e.blockNumber,
Expand Down Expand Up @@ -166,7 +166,7 @@ export const parse = (chainId: string, e: IEvent) => {
}

const variables: EventMutationInput = {
chainId,
chain_id: chainId,
name,
transaction_hash,
block_number,
Expand Down
2 changes: 1 addition & 1 deletion src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type EventName =
| "Claim";

export type EventMutationInput = {
chainId: string;
chain_id: string;
name: EventName;
transaction_hash: string;
block_number: number;
Expand Down

0 comments on commit c8b5a22

Please sign in to comment.