summaryrefslogtreecommitdiff
path: root/internal/api/client/blocks/blocksget.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/blocks/blocksget.go')
-rw-r--r--internal/api/client/blocks/blocksget.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/api/client/blocks/blocksget.go b/internal/api/client/blocks/blocksget.go
index b6c9c39e1..b00a6e198 100644
--- a/internal/api/client/blocks/blocksget.go
+++ b/internal/api/client/blocks/blocksget.go
@@ -19,6 +19,7 @@
package blocks
import (
+ "github.com/sirupsen/logrus"
"net/http"
"strconv"
@@ -84,7 +85,7 @@ import (
// '404':
// description: not found
func (m *Module) BlocksGETHandler(c *gin.Context) {
- l := m.log.WithField("func", "PublicTimelineGETHandler")
+ l := logrus.WithField("func", "PublicTimelineGETHandler")
authed, err := oauth.Authed(c, true, true, true, true)
if err != nil {