diff options
Diffstat (limited to 'server/controllers/api/server/follows.ts')
-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 913998e3a..497edb8eb 100644 --- a/server/controllers/api/server/follows.ts +++ b/server/controllers/api/server/follows.ts | |||
@@ -157,7 +157,7 @@ async function removeFollow (req: express.Request, res: express.Response, next: | |||
157 | // This could be long so don't wait this task | 157 | // This could be long so don't wait this task |
158 | const following = follow.AccountFollowing | 158 | const following = follow.AccountFollowing |
159 | following.destroy() | 159 | following.destroy() |
160 | .catch(err => logger.error('Cannot destroy account that we do not follow anymore %s.', following.url, err)) | 160 | .catch(err => logger.error('Cannot destroy account that we do not follow anymore %s.', following.Actor.url, err)) |
161 | 161 | ||
162 | return res.status(204).end() | 162 | return res.status(204).end() |
163 | } | 163 | } |