We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6bab542 + 62c8893 commit 911bfe0Copy full SHA for 911bfe0
1 file changed
src/modules/simulator/simulation.service.ts
@@ -140,7 +140,16 @@ export class SimulationService {
140
),
141
]);
142
143
- return dummySignature;
+ const dummySessionDetails: GrantPermissionResponseType = {
144
+ ...sessionInfo?.sessionDetails,
145
+ mode:
146
+ sessionInfo.smartSessionMode === "ENABLE_AND_USE"
147
+ ? SmartSessionMode.UNSAFE_ENABLE
148
+ : SmartSessionMode.USE,
149
+ signature: dummySignature,
150
+ };
151
+
152
+ return encodeSmartSessionSignature(dummySessionDetails);
153
}
154
155
const dummySignature = concatHex([
0 commit comments