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/create.go | |
parent | Refactor/tidy (#261) (diff) | |
download | gotosocial-ff77bf1d1194254958ff9848f614c466420f167b.tar.xz |
fix logs not working properly (#264)
Diffstat (limited to 'internal/federation/federatingdb/create.go')
-rw-r--r-- | internal/federation/federatingdb/create.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/federatingdb/create.go b/internal/federation/federatingdb/create.go index 474890c34..2a31108f2 100644 --- a/internal/federation/federatingdb/create.go +++ b/internal/federation/federatingdb/create.go @@ -50,7 +50,7 @@ func (f *federatingDB) Create(ctx context.Context, asType vocab.Type) error { }, ) - if l.Level >= logrus.DebugLevel { + if f.log.Level >= logrus.DebugLevel { i, err := marshalItem(asType) if err != nil { return err |