Skip to content

Commit

Permalink
Add actualJobId response field
Browse files Browse the repository at this point in the history
  • Loading branch information
lok52 committed Nov 9, 2022
1 parent f21dc1f commit 9a4f87a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions zp-relayer/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ async function getJob(req: Request, res: Response) {
}

interface GetJobResponse {
resolvedJobId: string
createdOn: number
failedReason: null | string
finishedOn: null | number
Expand All @@ -134,6 +135,7 @@ async function getJob(req: Request, res: Response) {

// Default result object
let result: GetJobResponse = {
resolvedJobId: jobId,
createdOn: job.timestamp,
failedReason: null,
finishedOn: null,
Expand Down

0 comments on commit 9a4f87a

Please sign in to comment.