Skip to content

Commit

Permalink
✨ Adjust query events calls to reflect api change
Browse files Browse the repository at this point in the history
  • Loading branch information
foysalit committed Jan 3, 2025
1 parent 948e5a4 commit 1eb38db
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions automod/consumer/ozone.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ func (oc *OzoneConsumer) Run(ctx context.Context) error {
false, // hasComment bool
true, // includeAllUserRecords bool
limit, // limit int64
nil, // policies []string
nil, // removedLabels []string
nil, // removedTags []string
nil, // reportTypes []string
Expand Down
2 changes: 2 additions & 0 deletions automod/engine/persisthelpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ func (eng *Engine) createReportIfFresh(ctx context.Context, xrpcc *xrpc.Client,
false, // hasComment bool
false, // includeAllUserRecords bool
5, // limit int64
nil, // policies []string
nil, // removedLabels []string
nil, // removedTags []string
nil, // reportTypes []string
Expand Down Expand Up @@ -263,6 +264,7 @@ func (eng *Engine) createRecordReportIfFresh(ctx context.Context, xrpcc *xrpc.Cl
false, // hasComment bool
false, // includeAllUserRecords bool
5, // limit int64
nil, // policies []string
nil, // removedLabels []string
nil, // removedTags []string
nil, // reportTypes []string
Expand Down
1 change: 1 addition & 0 deletions cmd/beemo/notify_reports.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func pollNewReports(cctx *cli.Context) error {
false, // hasComment bool
true, // includeAllUserRecords bool
limit, // limit int64
nil, // policies []string
nil, // removedLabels []string
nil, // removedTags []string
nil, // reportTypes []string
Expand Down
2 changes: 2 additions & 0 deletions cmd/gosky/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ var listReportsCmd = &cli.Command{
false, // hasComment bool
false, // includeAllUserRecords bool
100, // limit int64
nil, // policies []string
nil, // removedLabels []string
nil, // removedTags []string
nil, // reportTypes []string
Expand Down Expand Up @@ -717,6 +718,7 @@ var queryModerationStatusesCmd = &cli.Command{
false, // hasComment bool
false, // includeAllUserRecords bool
100, // limit int64
nil, // policies []string
nil, // removedLabels []string
nil, // removedTags []string
nil, // reportTypes []string
Expand Down

0 comments on commit 1eb38db

Please sign in to comment.