mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-12 22:37:30 -06:00
fix logs not working properly (#264)
This commit is contained in:
parent
e04b187702
commit
ff77bf1d11
6 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue