chore: user management api additions (#4231)

* feat: added route to delete users in user management api's

* chore: added lastLoggedOn and lastActiveOn fields to user response type

* chore: changed return type

* chore: changed target to prod for hopp-old-backend service
This commit is contained in:
Balu Babu
2024-08-05 15:31:59 +05:30
committed by GitHub
parent 4fd6d6ddb4
commit 0140208753
3 changed files with 46 additions and 1 deletions

View File

@@ -427,7 +427,7 @@ export class AdminService {
* Remove a user account by UID
* @param userUid User UID
* @returns an Either of boolean or error
* @deprecated use removeUserAccounts instead
*
*/
async removeUserAccount(userUid: string) {
const user = await this.userService.findUserById(userUid);