diff options
Diffstat (limited to 'shared/extra-utils/users/accounts.ts')
-rw-r--r-- | shared/extra-utils/users/accounts.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/users/accounts.ts b/shared/extra-utils/users/accounts.ts index ee94351e8..2c9a4b71c 100644 --- a/shared/extra-utils/users/accounts.ts +++ b/shared/extra-utils/users/accounts.ts | |||
@@ -14,7 +14,7 @@ async function expectAccountFollows (options: { | |||
14 | }) { | 14 | }) { |
15 | const { server, handle, followers, following } = options | 15 | const { server, handle, followers, following } = options |
16 | 16 | ||
17 | const body = await server.accountsCommand.list() | 17 | const body = await server.accounts.list() |
18 | const account = body.data.find(a => a.name + '@' + a.host === handle) | 18 | const account = body.data.find(a => a.name + '@' + a.host === handle) |
19 | 19 | ||
20 | const message = `${handle} on ${server.url}` | 20 | const message = `${handle} on ${server.url}` |