summaryrefslogtreecommitdiff
path: root/internal/federation/federatingdb/undo.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2021-10-04 16:00:35 +0200
committerLibravatar GitHub <noreply@github.com>2021-10-04 16:00:35 +0200
commitff77bf1d1194254958ff9848f614c466420f167b (patch)
tree73b7baf923545376bff4541e794dd3fcbef7ae89 /internal/federation/federatingdb/undo.go
parentRefactor/tidy (#261) (diff)
downloadgotosocial-ff77bf1d1194254958ff9848f614c466420f167b.tar.xz
fix logs not working properly (#264)
Diffstat (limited to 'internal/federation/federatingdb/undo.go')
-rw-r--r--internal/federation/federatingdb/undo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/federatingdb/undo.go b/internal/federation/federatingdb/undo.go
index 9fcb6ce1a..082d76e60 100644
--- a/internal/federation/federatingdb/undo.go
+++ b/internal/federation/federatingdb/undo.go
@@ -37,7 +37,7 @@ func (f *federatingDB) Undo(ctx context.Context, undo vocab.ActivityStreamsUndo)
},
)
- if l.Level >= logrus.DebugLevel {
+ if f.log.Level >= logrus.DebugLevel {
i, err := marshalItem(undo)
if err != nil {
return err