summaryrefslogtreecommitdiff
path: root/internal/api/client/followrequest/get.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/followrequest/get.go')
-rw-r--r--internal/api/client/followrequest/get.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/internal/api/client/followrequest/get.go b/internal/api/client/followrequest/get.go
index 47e1d74ba..a07e3ad83 100644
--- a/internal/api/client/followrequest/get.go
+++ b/internal/api/client/followrequest/get.go
@@ -19,6 +19,7 @@
package followrequest
import (
+ "github.com/sirupsen/logrus"
"net/http"
"github.com/gin-gonic/gin"
@@ -27,7 +28,7 @@ import (
// FollowRequestGETHandler allows clients to get a list of their incoming follow requests.
func (m *Module) FollowRequestGETHandler(c *gin.Context) {
- l := m.log.WithField("func", "statusCreatePOSTHandler")
+ l := logrus.WithField("func", "statusCreatePOSTHandler")
authed, err := oauth.Authed(c, true, true, true, true)
if err != nil {
l.Debugf("couldn't auth: %s", err)