Skip to content

Commit cb22e3e

Browse files
committed
Update movie info link to match new API version
1 parent a9f3259 commit cb22e3e

File tree

1 file changed

+1
-1
lines changed
  • backend/src/main/kotlin/rocks/didit/sefilm/services

1 file changed

+1
-1
lines changed

backend/src/main/kotlin/rocks/didit/sefilm/services/SFService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ class SFService(
6767
}
6868

6969
fun fetchExtendedInfo(sfId: String): SfExtendedMovieDTO? {
70-
val body = restTemplate.exchange(API_URL + "/v1/movies/{sfId}", HttpMethod.GET, httpEntity, SfExtendedMovieDTO::class.java, sfId).body
70+
val body = restTemplate.exchange(API_URL + "/v2/movie/sv/{sfId}", HttpMethod.GET, httpEntity, SfExtendedMovieDTO::class.java, sfId).body
7171
if (body?.ncgId == null) {
7272
return null
7373
}

0 commit comments

Comments
 (0)