backend: initial log in dialog

This commit is contained in:
muerwre 2018-11-29 18:38:46 +07:00
parent 6f6e6ae6d7
commit 8bba2ff1ba
8 changed files with 83 additions and 7 deletions

View file

@ -11,6 +11,8 @@ module.exports = async (req, res) => {
}
const guest = await generateGuest();
return res.send({ success: false, ...guest, random_url });
return res.send({
success: false, error: 'user not found', error_code: 1231, ...guest, random_url
});
};