From 9a4f87a269028ef4fff84637592013564e7b8718 Mon Sep 17 00:00:00 2001 From: Leonid Tyurin Date: Wed, 9 Nov 2022 18:35:57 +0400 Subject: [PATCH] Add actualJobId response field --- zp-relayer/endpoints.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zp-relayer/endpoints.ts b/zp-relayer/endpoints.ts index 2c91b17f..bae8ab2e 100644 --- a/zp-relayer/endpoints.ts +++ b/zp-relayer/endpoints.ts @@ -118,6 +118,7 @@ async function getJob(req: Request, res: Response) { } interface GetJobResponse { + resolvedJobId: string createdOn: number failedReason: null | string finishedOn: null | number @@ -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,