Skip to content

Commit 2436d5f

Browse files
Merge pull request #954 from sourabhsaini11/draft-TRV14-2.0.0
fix:take timestamp from userinput
2 parents 7859860 + 74bcd58 commit 2436d5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mock-service/src/config/mock-config/TRV14/2.0.0/select/generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export async function selectDefaultGenerator(existingPayload: any, sessionData:
6767
{
6868
type: "START",
6969
time: {
70-
timestamp: contextTimestamp
70+
timestamp: userInputs?.timestamp || contextTimestamp
7171
}
7272
}
7373
]

mock-service/src/config/mock-config/TRV14/2.0.0/select_for_partial_cancellation/generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export async function selectForPartialCancellationGenerator(existingPayload: any
7070
{
7171
type: "START",
7272
time: {
73-
timestamp: contextTimestamp
73+
timestamp: userInputs?.timestamp || contextTimestamp
7474
}
7575
}
7676
]

0 commit comments

Comments
 (0)