infogare-api.js
Advanced tools
Comparing version 1.0.9 to 1.0.10
{ | ||
"name": "infogare-api.js", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"main": "src/core/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -81,7 +81,7 @@ const User = require('./User'); | ||
} | ||
const response = await fetch(`${App.apiEndpoint}/user/${uid}?appId=${this.appId}`); | ||
const response = await fetch(`${App.apiEndpoint}/user/${uid}/folders?appId=${this.appId}`); | ||
if (!response.ok) { | ||
throw new UserException(response, 'folders'); | ||
} | ||
return await response.json().folders; | ||
return await response.json(); | ||
} | ||
@@ -88,0 +88,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19830