summaryrefslogtreecommitdiff
path: root/src/remote/activitypub/renderer/undo.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/remote/activitypub/renderer/undo.ts')
-rw-r--r--src/remote/activitypub/renderer/undo.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/remote/activitypub/renderer/undo.ts b/src/remote/activitypub/renderer/undo.ts
index 0e9998a41d..6f367415c4 100644
--- a/src/remote/activitypub/renderer/undo.ts
+++ b/src/remote/activitypub/renderer/undo.ts
@@ -1,7 +1,7 @@
import config from '@/config';
import { ILocalUser, User } from '../../../models/entities/user';
-export default (object: any, user: ILocalUser | User) => ({
+export default (object: any, user: { id: User['id'] }) => ({
type: 'Undo',
actor: `${config.url}/users/${user.id}`,
object