summaryrefslogtreecommitdiff
path: root/internal/processing/timeline/faved.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2023-07-18 09:43:17 +0100
committerLibravatar GitHub <noreply@github.com>2023-07-18 09:43:17 +0100
commitf4319740ab02d680961781861335285f618f5f48 (patch)
tree133595a10ec93cce9da269a4fa671c226bab7298 /internal/processing/timeline/faved.go
parent[bugfix] Add missing `continue` statement in `prepareXBetweenIDs` (#1996) (diff)
downloadgotosocial-f4319740ab02d680961781861335285f618f5f48.tar.xz
[bugfix] more robust list timeline invalidation (#1995)v0.10.0-rc3
Diffstat (limited to 'internal/processing/timeline/faved.go')
-rw-r--r--internal/processing/timeline/faved.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/processing/timeline/faved.go b/internal/processing/timeline/faved.go
index 0fc92d8fa..556ced4c3 100644
--- a/internal/processing/timeline/faved.go
+++ b/internal/processing/timeline/faved.go
@@ -46,7 +46,7 @@ func (p *Processor) FavedTimelineGet(ctx context.Context, authed *oauth.Auth, ma
for _, s := range statuses {
visible, err := p.filter.StatusVisible(ctx, authed.Account, s)
if err != nil {
- log.Debugf(ctx, "skipping status %s because of an error checking status visibility: %s", s.ID, err)
+ log.Errorf(ctx, "error checking status visibility: %v", err)
continue
}
@@ -56,7 +56,7 @@ func (p *Processor) FavedTimelineGet(ctx context.Context, authed *oauth.Auth, ma
apiStatus, err := p.tc.StatusToAPIStatus(ctx, s, authed.Account)
if err != nil {
- log.Debugf(ctx, "skipping status %s because it couldn't be converted to its api representation: %s", s.ID, err)
+ log.Errorf(ctx, "error convering to api status: %v", err)
continue
}
@@ -65,7 +65,7 @@ func (p *Processor) FavedTimelineGet(ctx context.Context, authed *oauth.Auth, ma
return util.PackagePageableResponse(util.PageableResponseParams{
Items: items,
- Path: "api/v1/favourites",
+ Path: "/api/v1/favourites",
NextMaxIDValue: nextMaxID,
PrevMinIDValue: prevMinID,
Limit: limit,