summaryrefslogtreecommitdiff
path: root/internal/timeline/get.go
diff options
context:
space:
mode:
authorLibravatar Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com>2021-06-23 18:42:20 +0200
committerLibravatar GitHub <noreply@github.com>2021-06-23 18:42:20 +0200
commit16e486ad96be2c81405f22229dcf58600e08e96d (patch)
tree819ca6cec771cc5f6dd7bbcd8e8e5c7234fc9b56 /internal/timeline/get.go
parentInstance settings updates (#59) (diff)
downloadgotosocial-16e486ad96be2c81405f22229dcf58600e08e96d.tar.xz
Timeline bugfix (#60)
* fix a stack overflow in the timeline * go fmt
Diffstat (limited to 'internal/timeline/get.go')
-rw-r--r--internal/timeline/get.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/timeline/get.go b/internal/timeline/get.go
index 867e0940b..f07d81d55 100644
--- a/internal/timeline/get.go
+++ b/internal/timeline/get.go
@@ -13,7 +13,12 @@ func (t *timeline) Get(amount int, maxID string, sinceID string, minID string) (
l := t.log.WithFields(logrus.Fields{
"func": "Get",
"accountID": t.accountID,
+ "amount": amount,
+ "maxID": maxID,
+ "sinceID": sinceID,
+ "minID": minID,
})
+ l.Debug("entering get")
var statuses []*apimodel.Status
var err error