diff options
author | 2021-10-04 16:00:35 +0200 | |
---|---|---|
committer | 2021-10-04 16:00:35 +0200 | |
commit | ff77bf1d1194254958ff9848f614c466420f167b (patch) | |
tree | 73b7baf923545376bff4541e794dd3fcbef7ae89 /internal/federation/federatingdb/util.go | |
parent | Refactor/tidy (#261) (diff) | |
download | gotosocial-ff77bf1d1194254958ff9848f614c466420f167b.tar.xz |
fix logs not working properly (#264)
Diffstat (limited to 'internal/federation/federatingdb/util.go')
-rw-r--r-- | internal/federation/federatingdb/util.go | 2 |
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 |