Skip to content

Commit

Permalink
another modEvent typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bnewbold committed Nov 22, 2023
1 parent a5489bd commit d4bef51
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#modEventReport"})
me, err := comatproto.AdminQueryModerationEvents(context.TODO(), xrpcc, "", "", false, limit, "", "", []string{"com.atproto.admin.defs#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#modEventReport"})
resp, err := atproto.AdminQueryModerationEvents(ctx, xrpcc, "", "", false, 100, "", "", []string{"com.atproto.admin.defs#modEventReport"})
if err != nil {
return err
}
Expand Down

0 comments on commit d4bef51

Please sign in to comment.