Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/api/filter-alerts.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ func (fa *FilterAlerts) Create(searchDomainName string, newFilterAlert *FilterAl
newFilterAlert.Enabled,
ownershipRunAsID,
newFilterAlert.ThrottleField,
*newFilterAlert.ThrottleTimeSeconds,
newFilterAlert.ThrottleTimeSeconds,
humiographql.QueryOwnershipType(newFilterAlert.QueryOwnershipType),
)
if err != nil {
Expand Down
4 changes: 2 additions & 2 deletions internal/api/humiographql/graphql/filter-alerts.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ mutation CreateFilterAlert(
$Enabled: Boolean!
$RunAsUserID: String
$ThrottleField: String
$ThrottleTimeSeconds: Long!
$ThrottleTimeSeconds: Long
$QueryOwnershipType: QueryOwnershipType!
) {
createFilterAlert(input: {
Expand Down Expand Up @@ -80,4 +80,4 @@ query GetFilterAlertByID(
...FilterAlertDetails
}
}
}
}
8 changes: 4 additions & 4 deletions internal/api/humiographql/humiographql.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading