Skip to content

Commit

Permalink
Chore : Added timestamp of logs in self ER request
Browse files Browse the repository at this point in the history
  • Loading branch information
joyguptaa committed Oct 29, 2023
1 parent c72ec0b commit 1681f13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions controllers/extensionRequests.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ const getSelfExtensionRequests = async (req, res) => {
const superUserId = logs[0].meta.userId;
const name = await getFullName(superUserId);
latestExtensionRequest.reviewedBy = `${name?.first_name} ${name?.last_name}`;
latestExtensionRequest.reviewedAt = logs[0].timestamp._seconds;
}
}
allExtensionRequests = [latestExtensionRequest];
Expand Down

0 comments on commit 1681f13

Please sign in to comment.