Skip to content

Commit

Permalink
fix: url 오류 수정 (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
unifolio0 authored Aug 6, 2024
1 parent e6f8f46 commit 1e85e4a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,15 @@ public TypeMatchingResponse getTypeMatchingResponse(String id) {

public byte[] getPixelImage(String id) {
return restClient.get()
.uri("BASE_IMAGE_URL/{id}.png", id)
.uri(BASE_IMAGE_URL + "/{id}.png", id)
.accept(MediaType.IMAGE_PNG)
.retrieve()
.body(byte[].class);
}

public byte[] getArtImage(String id) {
return restClient.get()
.uri("BASE_IMAGE_URL/other/official-artwork/{id}.png", id)
.uri(BASE_IMAGE_URL + "/other/official-artwork/{id}.png", id)
.accept(MediaType.IMAGE_PNG)
.retrieve()
.body(byte[].class);
Expand Down

0 comments on commit 1e85e4a

Please sign in to comment.