login route add org

This commit is contained in:
Priyatham Sai chand 2022-05-13 23:06:03 +05:30
parent 3729bff2e1
commit bb8e8e062c
No known key found for this signature in database
GPG key ID: C3DFD0A2F6675222

View file

@ -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) {