From d3ea89759104e6c14b00443526f2c2a0a13aeb97 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 22 Dec 2017 12:10:40 +0100 Subject: Begin unit tests --- server/lib/activitypub/process/process-create.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'server/lib/activitypub/process/process-create.ts') 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) { originCommentId: null, inReplyToComment: null, videoId: video.id, - actorId: byActor.id + accountId: byAccount.id }, { transaction: t }) } @@ -281,7 +281,7 @@ function createVideoComment (byActor: ActorModel, activity: ActivityCreate) { originCommentId, inReplyToCommentId: inReplyToComment.id, videoId: inReplyToComment.videoId, - actorId: byActor.id + accountId: byAccount.id }, { transaction: t }) }) } -- cgit v1.2.3