mirror of
https://github.com/Priyatham-sai-chand/Locaft-backend.git
synced 2026-08-16 12:55:12 -07:00
login route add org
This commit is contained in:
parent
3729bff2e1
commit
bb8e8e062c
1 changed files with 2 additions and 1 deletions
|
|
@ -67,7 +67,8 @@ router.post("/login", async (req, res) => {
|
||||||
user: {
|
user: {
|
||||||
id: user._id,
|
id: user._id,
|
||||||
username: user.username,
|
username: user.username,
|
||||||
pricing: user.pricing
|
pricing: user.pricing,
|
||||||
|
organization: user.organization
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue