diff options
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/api/server/follows.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/server/follows.ts b/server/controllers/api/server/follows.ts index 9557810b5..37e8d88f7 100644 --- a/server/controllers/api/server/follows.ts +++ b/server/controllers/api/server/follows.ts | |||
@@ -168,7 +168,7 @@ async function removeFollowing (req: express.Request, res: express.Response) { | |||
168 | 168 | ||
169 | // Async, could be long | 169 | // Async, could be long |
170 | removeRedundanciesOfServer(server.id) | 170 | removeRedundanciesOfServer(server.id) |
171 | .catch(err => logger.error('Cannot remove redundancy of %s.', server.host, err)) | 171 | .catch(err => logger.error('Cannot remove redundancy of %s.', server.host, { err })) |
172 | 172 | ||
173 | await follow.destroy({ transaction: t }) | 173 | await follow.destroy({ transaction: t }) |
174 | }) | 174 | }) |