Skip to content
Snippets Groups Projects
Commit 29dbf391 authored by Christel Loftus's avatar Christel Loftus
Browse files

#1784 - updating original and new interface

parent 62f2794f
Branches
Tags
1 merge request!43Audit changes move to utils
......@@ -41,8 +41,8 @@ func VerifyAuditEvents(original interface{}, new interface{}) error {
func GetChanges(original interface{}, new interface{}) (map[string]interface{}, error) {
// Clean audit events
cleanStruct(original)
cleanStruct(new)
original = cleanStruct(original)
new = cleanStruct(new)
changes := map[string]interface{}{}
changelog, err := diff.Diff(original, new)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment