Skip to content

Commit

Permalink
SDK-2422 removed unused function and its test
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmet-yoti committed Jan 9, 2024
1 parent a0deee2 commit f3a1654
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions digitalidentity/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func CreateShareSession(httpClient requests.HttpClient, shareSessionRequest *Sha
Params: map[string]string{"sdkID": clientSdkId},
}.Request()
if err != nil {
return nil, fmt.Errorf(errorFailedToGetSignedReceipt, err)
return nil, fmt.Errorf(errorFailedToGetSignedRequest, err)
}

response, err := requests.Execute(httpClient, request)
Expand Down Expand Up @@ -75,7 +75,7 @@ func GetShareSession(httpClient requests.HttpClient, sessionID string, clientSdk
Params: map[string]string{"sdkID": clientSdkId},
}.Request()
if err != nil {
return nil, fmt.Errorf(errorFailedToGetSignedReceipt, err)
return nil, fmt.Errorf(errorFailedToGetSignedRequest, err)
}

response, err := requests.Execute(httpClient, request)
Expand Down Expand Up @@ -107,7 +107,7 @@ func CreateShareQrCode(httpClient requests.HttpClient, sessionID string, clientS
Params: map[string]string{"sdkID": clientSdkId},
}.Request()
if err != nil {
return nil, fmt.Errorf(errorFailedToGetSignedReceipt, err)
return nil, fmt.Errorf(errorFailedToGetSignedRequest, err)
}

response, err := requests.Execute(httpClient, request)
Expand Down Expand Up @@ -137,7 +137,7 @@ func GetShareSessionQrCode(httpClient requests.HttpClient, qrCodeId string, clie
Headers: headers,
}.Request()
if err != nil {
return fetchedQrCode, fmt.Errorf(errorFailedToGetSignedReceipt, err)
return fetchedQrCode, fmt.Errorf(errorFailedToGetSignedRequest, err)
}

response, err := requests.Execute(httpClient, request)
Expand Down Expand Up @@ -170,7 +170,7 @@ func getReceipt(httpClient requests.HttpClient, receiptId string, clientSdkId, a
Headers: headers,
}.Request()
if err != nil {
return receipt, fmt.Errorf(errorFailedToGetSignedReceipt, err)
return receipt, fmt.Errorf(errorFailedToGetSignedRequest, err)
}

response, err := requests.Execute(httpClient, request)
Expand Down Expand Up @@ -201,7 +201,7 @@ func getReceiptItemKey(httpClient requests.HttpClient, receiptItemKeyId string,
Headers: headers,
}.Request()
if err != nil {
return receiptItemKey, fmt.Errorf(errorFailedToGetSignedReceipt, err)
return receiptItemKey, fmt.Errorf(errorFailedToGetSignedRequest, err)
}

response, err := requests.Execute(httpClient, request)
Expand Down

0 comments on commit f3a1654

Please sign in to comment.