summaryrefslogtreecommitdiff
path: root/internal/db/relationship.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-09-07 15:58:37 +0100
committerLibravatar GitHub <noreply@github.com>2023-09-07 15:58:37 +0100
commitb093947d84127789e5a3a662a9e11d0b9438180e (patch)
treeeec3be2f1594599bee3db90e737431708101ae45 /internal/db/relationship.go
parent[feature] Support OTLP HTTP, drop Jaeger (#2184) (diff)
downloadgotosocial-b093947d84127789e5a3a662a9e11d0b9438180e.tar.xz
[chore] much improved paging package (#2182)
Diffstat (limited to 'internal/db/relationship.go')
-rw-r--r--internal/db/relationship.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/relationship.go b/internal/db/relationship.go
index 50f615ef3..91c98644c 100644
--- a/internal/db/relationship.go
+++ b/internal/db/relationship.go
@@ -174,7 +174,7 @@ type Relationship interface {
CountAccountFollowRequesting(ctx context.Context, accountID string) (int, error)
// GetAccountBlocks returns all blocks originating from the given account, with given optional paging parameters.
- GetAccountBlocks(ctx context.Context, accountID string, paging *paging.Pager) ([]*gtsmodel.Block, error)
+ GetAccountBlocks(ctx context.Context, accountID string, paging *paging.Page) ([]*gtsmodel.Block, error)
// GetNote gets a private note from a source account on a target account, if it exists.
GetNote(ctx context.Context, sourceAccountID string, targetAccountID string) (*gtsmodel.AccountNote, error)