mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2025-12-19 21:43:08 +01:00
refactor: sanitize webhook auth payload (#1157)
This commit is contained in:
@@ -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