Skip to content

Commit 15cf883

Browse files
dgellowstainless-bot
authored andcommitted
chore(tests): fix getEmbedURL to specify /v1/ prefix
1 parent 0fd4c89 commit 15cf883

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lithic-java-core/src/main/kotlin/com/lithic/api/services/async/CardServiceAsyncImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ constructor(
429429
val request =
430430
HttpRequest.builder()
431431
.method(HttpMethod.GET)
432-
.addPathSegments("embed", "card")
432+
.addPathSegments("v1", "embed", "card")
433433
.putQueryParam("embed_request", embed_request)
434434
.putQueryParam("hmac", embed_request_hmac)
435435
.putAllHeaders(clientOptions.headers)

lithic-java-core/src/main/kotlin/com/lithic/api/services/blocking/CardServiceImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ constructor(
393393
val request =
394394
HttpRequest.builder()
395395
.method(HttpMethod.GET)
396-
.addPathSegments("embed", "card")
396+
.addPathSegments("v1", "embed", "card")
397397
.putQueryParam("embed_request", embed_request)
398398
.putQueryParam("hmac", embed_request_hmac)
399399
.putAllHeaders(clientOptions.headers)

0 commit comments

Comments
 (0)