File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,8 +14,7 @@ import {ActiveTransaction} from "@core/models/ActiveTransaction";
1414import { SessionStorageService } from './session-storage.service' ;
1515
1616const SAME_DEVICE_UI_RE_ENTRY_URL = '/get-wallet-code?response_code={RESPONSE_CODE}' ;
17- const PRESENTATIONS_ENDPOINT = 'ui/presentations' ;
18- const PRESENTATIONS_ENDPOINT_V2 = 'ui/presentations/v2' ;
17+ const INIT_TRANSACTION_ENDPOINT = 'ui/presentations/v2' ;
1918const WALLET_RESPONSE_ENDPOINT = 'ui/presentations/${transactionId}' ;
2019const EVENTS_ENDPOINT = 'ui/presentations/${transactionId}/events' ;
2120const VALIDATE_SD_JWT_VC_PRESENTATION_ENDPOINT = 'utilities/validations/sdJwtVc' ;
@@ -37,7 +36,7 @@ export class VerifierEndpointService {
3736 if ( ! this . deviceDetectorService . isDesktop ( ) ) {
3837 payload [ 'wallet_response_redirect_uri_template' ] = location . origin + SAME_DEVICE_UI_RE_ENTRY_URL ;
3938 }
40- this . httpService . post < InitializedTransaction , string > ( PRESENTATIONS_ENDPOINT_V2 , payload )
39+ this . httpService . post < InitializedTransaction , string > ( INIT_TRANSACTION_ENDPOINT , payload )
4140 . pipe (
4241 tap ( ( res ) => {
4342 let activeTransaction : ActiveTransaction = {
You can’t perform that action at this time.
0 commit comments