mirror of
https://github.com/BrenBroZAYT/gameyfin.git
synced 2026-06-15 16:20:03 +00:00
Fix URL encoding of search queries
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ class SteamGridDbApiClient(private val apiKey: String) {
|
||||
}
|
||||
|
||||
suspend fun search(term: String, block: HttpRequestBuilder.() -> Unit = {}): SteamGridDbSearchResult {
|
||||
return get("search/autocomplete/$term", block).body()
|
||||
return get("search/autocomplete/${term.encodeURLPath(encodeSlash = true, encodeEncoded = false)}", block).body()
|
||||
}
|
||||
|
||||
suspend fun grids(gameId: Int, block: HttpRequestBuilder.() -> Unit = {}): SteamGridDbGridResult {
|
||||
|
||||
Reference in New Issue
Block a user