Skip to content

Commit

Permalink
polished signup.js
Browse files Browse the repository at this point in the history
  • Loading branch information
skitsanos committed Aug 8, 2020
1 parent 4166de0 commit 46ec2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foxx/signup/post.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = {
password: crypto.sha384(password)
}).toArray()[0];

res.send({result: 'ok', qr});
res.send({result: qr._key});
} catch (e)
{
res.throw(409, 'User already exists');
Expand Down

0 comments on commit 46ec2df

Please sign in to comment.