From 36a1e159f3e194ab1ad6db657c8a1fe9a936f5e4 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Thu, 27 Jul 2017 17:01:58 +0200 Subject: [bug] update the UI to the new mail.get_token API Thanks to @simonft for all the help. - Resolves: #8980 --- ui/app/lib/bitmask.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/app/lib') 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} The token + * @return {Promise<{'token': string}>} The token */ get_token: function(uid) { return call(['mail', 'get_token', uid]); -- cgit v1.2.3