Skip to content
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.

Commit

Permalink
Merge pull request #11 from denotarius/tx-hash
Browse files Browse the repository at this point in the history
chore: add tx_hash to endpoint
  • Loading branch information
slowbackspace authored Oct 4, 2022
2 parents d0019ff + 9109d85 commit b8bf6f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/types/tables.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export type Batch = {
address_index: number;
order_time_limit_in_seconds: number;
pin_ipfs: boolean;
tx_hash?: string;
};

export interface Doc {
Expand Down
1 change: 1 addition & 0 deletions src/utils/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export const parseBatch = (batch: Batch) => {
},
status: batch.status,
orderTimeLeftInSeconds: batch.order_time_limit_in_seconds,
tx_hash: batch.tx_hash,
};
};

0 comments on commit b8bf6f6

Please sign in to comment.