minor update to cloud.js

pull/89/head
Bernat Romagosa 2019-04-16 16:29:43 +02:00
rodzic b20705c46c
commit 5cd3f3011c
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -967,7 +967,9 @@ Cloud.prototype.getUserCollections = function (
onSuccess,
onError
) {
this.withCredentialsRequest(
this[(collectionUsername !== this.username) ?
'request' :
'withCredentialsRequest'](
'GET',
'/users/' +
(collectionUsername ?