mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
backend: initial log in dialog
This commit is contained in:
parent
6f6e6ae6d7
commit
8bba2ff1ba
8 changed files with 83 additions and 7 deletions
|
@ -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
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue