mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Better URL.
This commit is contained in:
parent
39578f8ecc
commit
98862fc57f
1 changed files with 3 additions and 1 deletions
|
@ -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) },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue