mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-26 08:27:12 -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
|
||||
// options.add("list_in_downloads=1")
|
||||
|
||||
path += "?" + options.join("&")
|
||||
if (options.size() > 0) {
|
||||
path += "?" + options.join("&")
|
||||
}
|
||||
|
||||
http.uploadFile(username, password, path, it,
|
||||
{ r: Response -> successes.add(it) },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue