directus-sdk-javascript
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "directus-sdk-javascript", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "WIP - Directus SDK for JavaScript (Node and Browser)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -259,2 +259,12 @@ const axios = require('axios'); | ||
} | ||
// Users | ||
// ---------------------------------------------------------------------------------- | ||
getUsers(params = {}) { | ||
return this._get('users', params); | ||
} | ||
getUser(id = requiredParam('id')) { | ||
return this._get(`users/${id}`); | ||
} | ||
} | ||
@@ -261,0 +271,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
44627
218