summaryrefslogtreecommitdiff
path: root/internal/federation/federatingdb/util.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/util.go
parentRefactor/tidy (#261) (diff)
downloadgotosocial-ff77bf1d1194254958ff9848f614c466420f167b.tar.xz
fix logs not working properly (#264)
Diffstat (limited to 'internal/federation/federatingdb/util.go')
-rw-r--r--internal/federation/federatingdb/util.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/federatingdb/util.go b/internal/federation/federatingdb/util.go
index d719bf16d..dfc998abb 100644
--- a/internal/federation/federatingdb/util.go
+++ b/internal/federation/federatingdb/util.go
@@ -69,7 +69,7 @@ func (f *federatingDB) NewID(ctx context.Context, t vocab.Type) (idURL *url.URL,
},
)
- if l.Level >= logrus.DebugLevel {
+ if f.log.Level >= logrus.DebugLevel {
i, err := marshalItem(t)
if err != nil {
return nil, err