diff options
Diffstat (limited to 'server/lib/activitypub')
-rw-r--r-- | server/lib/activitypub/process/process-create.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/activitypub/process/process-create.ts b/server/lib/activitypub/process/process-create.ts index 102e54b19..6c2ee97eb 100644 --- a/server/lib/activitypub/process/process-create.ts +++ b/server/lib/activitypub/process/process-create.ts | |||
@@ -267,7 +267,7 @@ function createVideoComment (byActor: ActorModel, activity: ActivityCreate) { | |||
267 | originCommentId: null, | 267 | originCommentId: null, |
268 | inReplyToComment: null, | 268 | inReplyToComment: null, |
269 | videoId: video.id, | 269 | videoId: video.id, |
270 | actorId: byActor.id | 270 | accountId: byAccount.id |
271 | }, { transaction: t }) | 271 | }, { transaction: t }) |
272 | } | 272 | } |
273 | 273 | ||
@@ -281,7 +281,7 @@ function createVideoComment (byActor: ActorModel, activity: ActivityCreate) { | |||
281 | originCommentId, | 281 | originCommentId, |
282 | inReplyToCommentId: inReplyToComment.id, | 282 | inReplyToCommentId: inReplyToComment.id, |
283 | videoId: inReplyToComment.videoId, | 283 | videoId: inReplyToComment.videoId, |
284 | actorId: byActor.id | 284 | accountId: byAccount.id |
285 | }, { transaction: t }) | 285 | }, { transaction: t }) |
286 | }) | 286 | }) |
287 | } | 287 | } |