v1.5.1: add grps with name for logging

This commit is contained in:
abhishek9686
2026-03-26 22:51:46 +05:30
parent 086ccc8699
commit 316f82d4f6
4 changed files with 33 additions and 10 deletions
+4 -4
View File
@@ -735,8 +735,8 @@ func addUsertoNetwork(w http.ResponseWriter, r *http.Request) {
Type: schema.UserSub,
},
Diff: models.Diff{
Old: logic.ToReturnUser(&oldUser),
New: logic.ToReturnUser(user),
Old: logic.ToUserEventLog(&oldUser),
New: logic.ToUserEventLog(user),
},
Origin: schema.Dashboard,
})
@@ -791,8 +791,8 @@ func removeUserfromNetwork(w http.ResponseWriter, r *http.Request) {
Type: schema.UserSub,
},
Diff: models.Diff{
Old: logic.ToReturnUser(&oldUser),
New: logic.ToReturnUser(user),
Old: logic.ToUserEventLog(&oldUser),
New: logic.ToUserEventLog(user),
},
Origin: schema.Dashboard,
})