summaryrefslogtreecommitdiff
path: root/internal/api/client/timeline/home.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/timeline/home.go')
-rw-r--r--internal/api/client/timeline/home.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/api/client/timeline/home.go b/internal/api/client/timeline/home.go
index 6df4b29d0..ef5aa48b6 100644
--- a/internal/api/client/timeline/home.go
+++ b/internal/api/client/timeline/home.go
@@ -19,6 +19,7 @@
package timeline
import (
+ "github.com/sirupsen/logrus"
"net/http"
"strconv"
@@ -102,7 +103,7 @@ import (
// '400':
// description: bad request
func (m *Module) HomeTimelineGETHandler(c *gin.Context) {
- l := m.log.WithField("func", "HomeTimelineGETHandler")
+ l := logrus.WithField("func", "HomeTimelineGETHandler")
authed, err := oauth.Authed(c, true, true, true, true)
if err != nil {