reviewer_name added
This commit is contained in:
parent
638819495e
commit
82c9a23671
@ -264,14 +264,21 @@ exports.adminDashboard = async (req, res) => {
|
|||||||
LIMIT 1
|
LIMIT 1
|
||||||
)`),
|
)`),
|
||||||
"created_by_name"
|
"created_by_name"
|
||||||
]
|
],
|
||||||
|
[
|
||||||
|
Sequelize.literal(`(
|
||||||
|
SELECT au.name
|
||||||
|
FROM admin_users au
|
||||||
|
WHERE au.id = submission.updated_by
|
||||||
|
LIMIT 1
|
||||||
|
)`),
|
||||||
|
"reviewer_name"
|
||||||
|
],
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
order: [["created_at", "DESC"]],
|
order: [["created_at", "DESC"]],
|
||||||
limit: 10,
|
limit: 10,
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(recentSubmissions,'geetha')
|
|
||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
status: "success",
|
status: "success",
|
||||||
selected_quarter: quarter,
|
selected_quarter: quarter,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user