From e030c16a201d95337add0c6437152049c8f8e6e9 Mon Sep 17 00:00:00 2001 From: David Waring Date: Sun, 11 Feb 2018 21:32:11 -0500 Subject: [PATCH] fix config user() docs --- src/utils/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/config.js b/src/utils/config.js index 674d774..253213e 100644 --- a/src/utils/config.js +++ b/src/utils/config.js @@ -81,7 +81,8 @@ class Config { * Get the RTMUser from the configuration * * If no RTMUser is saved, start the login process - * @returns {RTMUser} + * @param {function} callback callback function + * @param {RTMUser} callback.user The RTM User */ user(callback) { if ( !this._CONFIG._user ) {