diff --git a/automod/capture/fetch.go b/automod/capture/fetch.go index be3719de..1139eaaa 100644 --- a/automod/capture/fetch.go +++ b/automod/capture/fetch.go @@ -63,7 +63,7 @@ func FetchRecent(ctx context.Context, eng *automod.Engine, atid syntax.AtIdentif } pdsClient := xrpc.Client{Host: pdsURL} - resp, err := comatproto.RepoListRecords(ctx, &pdsClient, "app.bsky.feed.post", "", int64(limit), ident.DID.String(), false, "", "") + resp, err := comatproto.RepoListRecords(ctx, &pdsClient, "app.bsky.feed.post", "", int64(limit), ident.DID.String(), false) if err != nil { return nil, nil, fmt.Errorf("failed to fetch record list: %v", err) } diff --git a/cmd/astrolabe/handlers.go b/cmd/astrolabe/handlers.go index e2a1c14d..f5a06726 100644 --- a/cmd/astrolabe/handlers.go +++ b/cmd/astrolabe/handlers.go @@ -164,8 +164,8 @@ func (srv *Server) WebRepoCollection(c echo.Context) error { } cursor := c.QueryParam("cursor") - // collection string, cursor string, limit int64, repo string, reverse bool, rkeyEnd string, rkeyStart string - resp, err := agnostic.RepoListRecords(ctx, &xrpcc, collection.String(), cursor, 100, ident.DID.String(), false, "", "") + // collection string, cursor string, limit int64, repo string, reverse bool + resp, err := agnostic.RepoListRecords(ctx, &xrpcc, collection.String(), cursor, 100, ident.DID.String(), false) if err != nil { return err } diff --git a/cmd/goat/lexicon.go b/cmd/goat/lexicon.go index 25283b26..433df073 100644 --- a/cmd/goat/lexicon.go +++ b/cmd/goat/lexicon.go @@ -242,8 +242,8 @@ func runLexList(cctx *cli.Context) error { // NOTE: much of this code is copied from runRecordList cursor := "" for { - // collection string, cursor string, limit int64, repo string, reverse bool, rkeyEnd string, rkeyStart string - resp, err := agnostic.RepoListRecords(ctx, &xrpcc, "com.atproto.lexicon.schema", cursor, 100, ident.DID.String(), false, "", "") + // collection string, cursor string, limit int64, repo string, reverse bool + resp, err := agnostic.RepoListRecords(ctx, &xrpcc, "com.atproto.lexicon.schema", cursor, 100, ident.DID.String(), false) if err != nil { return err } diff --git a/cmd/goat/record.go b/cmd/goat/record.go index 2bd072c6..6d286d9f 100644 --- a/cmd/goat/record.go +++ b/cmd/goat/record.go @@ -179,8 +179,8 @@ func runRecordList(cctx *cli.Context) error { for _, nsid := range collections { cursor := "" for { - // collection string, cursor string, limit int64, repo string, reverse bool, rkeyEnd string, rkeyStart string - resp, err := agnostic.RepoListRecords(ctx, &xrpcc, nsid, cursor, 100, ident.DID.String(), false, "", "") + // collection string, cursor string, limit int64, repo string, reverse bool + resp, err := agnostic.RepoListRecords(ctx, &xrpcc, nsid, cursor, 100, ident.DID.String(), false) if err != nil { return err }