Browse Source

Tweak docs

master
Matheus Fernandes 8 years ago
parent
commit
14a3a0205d
No known key found for this signature in database GPG Key ID: DD07CA4EA7B65C4F
  1. 6
      lib/cfg.js

6
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 } = {}) {

Loading…
Cancel
Save