From d8553faa4939889fa7b7ef7329aa474a81cbbdb9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 23 Nov 2017 14:37:00 +0100 Subject: Better follows tests --- server/lib/activitypub/process/process-undo.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/lib/activitypub/process') diff --git a/server/lib/activitypub/process/process-undo.ts b/server/lib/activitypub/process/process-undo.ts index caa835714..9fe066c01 100644 --- a/server/lib/activitypub/process/process-undo.ts +++ b/server/lib/activitypub/process/process-undo.ts @@ -1,10 +1,10 @@ -import { ActivityCreate, ActivityFollow, ActivityLike, ActivityUndo } from '../../../../shared/models/activitypub/activity' +import { ActivityFollow, ActivityLike, ActivityUndo } from '../../../../shared/models/activitypub/activity' +import { DislikeObject } from '../../../../shared/models/activitypub/objects/dislike-object' +import { retryTransactionWrapper } from '../../../helpers/database-utils' import { logger } from '../../../helpers/logger' import { database as db } from '../../../initializers' -import { retryTransactionWrapper } from '../../../helpers/database-utils' -import { DislikeObject } from '../../../../shared/models/activitypub/objects/dislike-object' -import { sendUndoLikeToVideoFollowers } from '../send/send-undo' import { sendUndoDislikeToVideoFollowers } from '../index' +import { sendUndoLikeToVideoFollowers } from '../send/send-undo' async function processUndoActivity (activity: ActivityUndo) { const activityToUndo = activity.object -- cgit v1.2.3