🚧 backend: wip initial setup for admin route to delete user (#799)

This commit is contained in:
Eric Doughty-Papassideris
2025-02-24 01:06:02 +01:00
committed by Anton Shepilov
parent 185ec5ac5c
commit 16c68f25fd
19 changed files with 500 additions and 4 deletions
+1
View File
@@ -30,6 +30,7 @@ export async function formatUser(
full_name: [user.first_name, user.last_name].join(" "),
created_at: user.creation_date,
deleted: Boolean(user.deleted),
delete_process_started_epoch: user.delete_process_started_epoch,
status: user.status_icon,
last_activity: user.last_activity,
cache: { companies: user.cache?.companies || [] },