1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-27 00:38:11 -07:00

Better URL.

This commit is contained in:
Cedric Beust 2015-10-08 03:02:41 -07:00
parent 39578f8ecc
commit 98862fc57f

View file

@ -107,7 +107,9 @@ public class JCenterApi @Inject constructor (@Nullable @Assisted("username") val
// This actually needs to be done // This actually needs to be done
// options.add("list_in_downloads=1") // options.add("list_in_downloads=1")
if (options.size() > 0) {
path += "?" + options.join("&") path += "?" + options.join("&")
}
http.uploadFile(username, password, path, it, http.uploadFile(username, password, path, it,
{ r: Response -> successes.add(it) }, { r: Response -> successes.add(it) },