Fix undefined middleware.GetRequestID in backend
This commit is contained in:
parent
e0b16e5b29
commit
f9c9293a19
1 changed files with 1 additions and 1 deletions
|
|
@ -399,7 +399,7 @@ func (h *CoreHandlers) DeleteUser(w http.ResponseWriter, r *http.Request) {
|
|||
targetTenantID = "" // Signal bypass
|
||||
}
|
||||
|
||||
log.Printf("[DeleteUser] UserID: %s, RequestID: %s, IsAdmin: %v, TenantID: %s, TargetTenantID: %s", r.PathValue("id"), middleware.GetRequestID(r.Context()), isAdmin, tenantID, targetTenantID)
|
||||
log.Printf("[DeleteUser] UserID: %s, IsAdmin: %v, TenantID: %s, TargetTenantID: %s", r.PathValue("id"), isAdmin, tenantID, targetTenantID)
|
||||
|
||||
if err := h.deleteUserUC.Execute(ctx, id, targetTenantID); err != nil {
|
||||
log.Printf("[DeleteUser] Error: %v", err)
|
||||
|
|
|
|||
Loading…
Reference in a new issue