directus-sdk-javascript
Advanced tools
Comparing version 3.0.0-10 to 3.0.0-11
{ | ||
"name": "directus-sdk-javascript", | ||
"version": "3.0.0-10", | ||
"version": "3.0.0-11", | ||
"description": "WIP - Directus SDK for JavaScript (Node and Browser)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -113,7 +113,7 @@ const axios = require('axios'); | ||
getCollections(params = {}) { | ||
return this.request('get', 'collections', params); | ||
return this.request('get', 'tables', params); | ||
}, | ||
getCollection(collection = requiredParam('collection'), params = {}) { | ||
return this.request('get', `collections/${collection}`, params); | ||
return this.request('get', `tables/${collection}`, params); | ||
}, | ||
@@ -120,0 +120,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
40554