Skip to content

Commit 6547d22

Browse files
binarynoiseprogramminghoch10
authored andcommitted
use resolved url to report success
1 parent 98ea799 commit 6547d22

File tree

1 file changed

+1
-1
lines changed
  • liberator/src/main/kotlin/de/binarynoise/liberator

1 file changed

+1
-1
lines changed

liberator/src/main/kotlin/de/binarynoise/liberator/Liberator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ class Liberator(
173173
}
174174

175175
solver.solve(locationUrl, client, response, cookies)
176-
return LiberationResult.Success(location)
176+
return LiberationResult.Success(locationUrl.toString())
177177
} catch (e: Exception) {
178178
return LiberationResult.Error(response.requestUrl.toString(), e, e.message.orEmpty())
179179
}

0 commit comments

Comments
 (0)