summaryrefslogtreecommitdiff
path: root/ui/app/lib
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2017-07-27 17:01:58 +0200
committerKali Kaneko <kali@leap.se>2017-08-24 17:15:21 -0400
commit36a1e159f3e194ab1ad6db657c8a1fe9a936f5e4 (patch)
tree82330d5fa36ebfee404eec1adb7d500efb4e31b1 /ui/app/lib
parent3f620e20f0b18246a26aa8e0ec4c3719719700ce (diff)
[bug] update the UI to the new mail.get_token API
Thanks to @simonft for all the help. - Resolves: #8980
Diffstat (limited to 'ui/app/lib')
-rw-r--r--ui/app/lib/bitmask.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/app/lib/bitmask.js b/ui/app/lib/bitmask.js
index b8d6a953..bfdf0501 100644
--- a/ui/app/lib/bitmask.js
+++ b/ui/app/lib/bitmask.js
@@ -318,7 +318,7 @@ var bitmask = function(){
*
* @param {string} uid The uid to get status about
*
- * @return {Promise<string>} The token
+ * @return {Promise<{'token': string}>} The token
*/
get_token: function(uid) {
return call(['mail', 'get_token', uid]);