Matheus Fernandes
8 years ago
No known key found for this signature in database
GPG Key ID: DD07CA4EA7B65C4F
1 changed files with
3 additions and
3 deletions
-
lib/cfg.js
|
@ -33,9 +33,9 @@ function save(data) { |
|
|
* @param {Boolean} force [false] Queries the API even if the config |
|
|
* @param {Boolean} force [false] Queries the API even if the config |
|
|
* file is not present. If `true`, `token` |
|
|
* file is not present. If `true`, `token` |
|
|
* *must* be specified |
|
|
* *must* be specified |
|
|
* @param {String} token Will be used to autenticate in the API |
|
|
* @param {String} token Will be used to autenticate in the API |
|
|
* if `force` is `true` |
|
|
if needed |
|
|
* @param {String} apiUrl URL of the API to be used |
|
|
* @param {String} apiUrl URL of the API to be used |
|
|
* @return {Object} |
|
|
* @return {Object} |
|
|
*/ |
|
|
*/ |
|
|
async function read({ force = false, token, apiUrl } = {}) { |
|
|
async function read({ force = false, token, apiUrl } = {}) { |
|
|