fix: strip BasicAuth credentials from user webhook API responses
This commit is contained in:
parent
75c9b753a8
commit
6aef5aff62
|
|
@ -63,6 +63,8 @@ func GetUserWebhooks(c *echo.Context) error {
|
|||
|
||||
for _, w := range ws {
|
||||
w.Secret = ""
|
||||
w.BasicAuthUser = ""
|
||||
w.BasicAuthPassword = ""
|
||||
if createdBy, has := users[w.CreatedByID]; has {
|
||||
w.CreatedBy = createdBy
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue