Showing
1 changed file
with
1 additions
and
1 deletions
@@ -9,8 +9,8 @@ exports.getQr = (params) => { | @@ -9,8 +9,8 @@ exports.getQr = (params) => { | ||
9 | 9 | ||
10 | try { | 10 | try { |
11 | uid = crypto.decrypt(PASSWORD, decodeURIComponent(params.token)); | 11 | uid = crypto.decrypt(PASSWORD, decodeURIComponent(params.token)); |
12 | + uid = parseInt(uid, 10) | ||
12 | } catch (e) { | 13 | } catch (e) { |
13 | - console.error(e); | ||
14 | uid = params.token; | 14 | uid = params.token; |
15 | } | 15 | } |
16 | 16 |
-
Please register or login to post a comment