diff options
author | 2024-09-09 15:56:58 -0700 | |
---|---|---|
committer | 2024-09-09 15:56:58 -0700 | |
commit | 540edef0c20dad4ea13d8af091ccf69796b848b6 (patch) | |
tree | d53106b4170f571a4472e60d35f9b7e2445269d4 /internal/processing/list/get.go | |
parent | [feature/frontend] Add options to include Unlisted posts or hide all posts (#... (diff) | |
download | gotosocial-540edef0c20dad4ea13d8af091ccf69796b848b6.tar.xz |
[feature] Implement exclusive lists (#3280)
Fixes #2616
Diffstat (limited to 'internal/processing/list/get.go')
-rw-r--r-- | internal/processing/list/get.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/list/get.go b/internal/processing/list/get.go index 9a7e7716f..cdd3c6e0c 100644 --- a/internal/processing/list/get.go +++ b/internal/processing/list/get.go @@ -47,7 +47,7 @@ func (p *Processor) Get(ctx context.Context, account *gtsmodel.Account, id strin return p.apiList(ctx, list) } -// GetMultiple returns multiple lists created by the given account, sorted by list ID DESC (newest first). +// GetAll returns multiple lists created by the given account, sorted by list ID DESC (newest first). func (p *Processor) GetAll(ctx context.Context, account *gtsmodel.Account) ([]*apimodel.List, gtserror.WithCode) { lists, err := p.state.DB.GetListsForAccountID( // Use barebones ctx; no embedded |