Skip to content

Commit

Permalink
fix Report/Reports typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold committed Nov 22, 2023
1 parent 405721a commit a5489bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/beemo/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ func pollNewReports(cctx *cli.Context) error {
// query just new reports (regardless of resolution state)
// AdminQueryModerationEvents(ctx context.Context, c *xrpc.Client, createdBy string, cursor string, includeAllUserRecords bool, limit int64, sortDirection string, subject string, types []string) (*AdminQueryModerationEvents_Output, error)
var limit int64 = 50
me, err := comatproto.AdminQueryModerationEvents(context.TODO(), xrpcc, "", "", false, limit, "", "", []string{"com.atproto.admin#modEventReports"})
me, err := comatproto.AdminQueryModerationEvents(context.TODO(), xrpcc, "", "", false, limit, "", "", []string{"com.atproto.admin#modEventReport"})
if err != nil {
return err
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/gosky/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ var listReportsCmd = &cli.Command{

// fetch recent moderation reports
// AdminQueryModerationEvents(ctx context.Context, c *xrpc.Client, createdBy string, cursor string, includeAllUserRecords bool, limit int64, sortDirection string, subject string, types []string) (*AdminQueryModerationEvents_Output, error)
resp, err := atproto.AdminQueryModerationEvents(ctx, xrpcc, "", "", false, 100, "", "", []string{"com.atproto.admin#modEventReports"})
resp, err := atproto.AdminQueryModerationEvents(ctx, xrpcc, "", "", false, 100, "", "", []string{"com.atproto.admin#modEventReport"})
if err != nil {
return err
}
Expand Down

0 comments on commit a5489bd

Please sign in to comment.