fix login
This commit is contained in:
@ -121,7 +121,8 @@ export class AuthController {
|
|||||||
WHERE utr.user_id = $1 AND r.deleted_at IS NULL AND utr.deleted_at IS NULL`
|
WHERE utr.user_id = $1 AND r.deleted_at IS NULL AND utr.deleted_at IS NULL`
|
||||||
const rooms = await OrmHelper.DB.query(roomQuery, [user.id])
|
const rooms = await OrmHelper.DB.query(roomQuery, [user.id])
|
||||||
|
|
||||||
const facilityQuery = `SELECT f.id, f.facility_id, .f.name, f.address, f.phone, f.code
|
const facilityQuery = `
|
||||||
|
SELECT f.id, f.facility_id, f.name, f.address, f.phone, f.code
|
||||||
FROM hospital_information f
|
FROM hospital_information f
|
||||||
LIMIT 1`
|
LIMIT 1`
|
||||||
const facilities = await OrmHelper.DB.query(facilityQuery)
|
const facilities = await OrmHelper.DB.query(facilityQuery)
|
||||||
|
|||||||
Reference in New Issue
Block a user