summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/renderer/block.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/activitypub/renderer/block.ts')
-rw-r--r--src/remote/activitypub/renderer/block.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/remote/activitypub/renderer/block.ts b/src/remote/activitypub/renderer/block.ts
index 694f3a1418..946c45a813 100644
--- a/src/remote/activitypub/renderer/block.ts
+++ b/src/remote/activitypub/renderer/block.ts
@@ -1,8 +1,8 @@
import config from '../../../config';
-import { ILocalUser, IRemoteUser } from '../../../models/user';
+import { ILocalUser, IRemoteUser } from '../../../models/entities/user';
export default (blocker?: ILocalUser, blockee?: IRemoteUser) => ({
type: 'Block',
- actor: `${config.url}/users/${blocker._id}`,
+ actor: `${config.url}/users/${blocker.id}`,
object: blockee.uri
});