mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-10-23 23:33:00 +02:00
refactor: sanitize webhook auth payload (#1157)
This commit is contained in:
1 parent
e07afd0f3a
commit
e475b38ea4
2 files changed
+40
-7
No files matched your search
@@ -60,7 +60,7 @@ func runHook(ctx context.Context, queries *sqlc.Queries, collection, event strin
|
||||
Action: event,
|
||||
Collection: collection,
|
||||
Record: record,
|
||||
Auth: auth,
|
||||
Auth: webhook.SanitizeUser(auth),
|
||||
Admin: nil,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user