diff --git a/src/tasks/admin/delete-channel.spec.js b/src/tasks/admin/delete-channel.spec.js index 4f7d133..ccadbfa 100644 --- a/src/tasks/admin/delete-channel.spec.js +++ b/src/tasks/admin/delete-channel.spec.js @@ -15,7 +15,7 @@ describe('The client deleteChannel task', () => { realmRepository, messageRepository, channelRepository, - subscriptionRepository + subscriptionRepository, }); }); @@ -63,7 +63,7 @@ describe('The client deleteChannel task', () => { const deleteMethod = subscriptionRepository.deleteAllByChannelId; expect(deleteMethod).toHaveBeenCalledWith({ realmId: subscription.realmId, - channelId: subscription.channelId + channelId: subscription.channelId, }); }); @@ -77,7 +77,7 @@ describe('The client deleteChannel task', () => { const deleteMethod = messageRepository.deleteAllByChannelId; expect(deleteMethod).toHaveBeenCalledWith({ realmId: message.realmId, - channelId: message.channelId + channelId: message.channelId, }); }); }); diff --git a/src/tasks/admin/delete-subscription.spec.js b/src/tasks/admin/delete-subscription.spec.js index 70231b2..a25ace2 100644 --- a/src/tasks/admin/delete-subscription.spec.js +++ b/src/tasks/admin/delete-subscription.spec.js @@ -19,7 +19,7 @@ describe('The admin deleteSubscription task', () => { it('should fail with appropriate error', async () => { const {ok, error} = await deleteSubscription({ realmId: realmRepository.unknownRealmId, - id: subscriptionRepository.knownSubscriptionId + id: subscriptionRepository.knownSubscriptionId, }); expect(ok).toBe(false); @@ -61,7 +61,7 @@ describe('The admin deleteSubscription task', () => { expect(ok).toBe(true); expect(sendSubscriptionSyncMessage).toHaveBeenCalledWith({ subscription: result, - action: 'deleted' + action: 'deleted', }); }); }); diff --git a/src/tasks/admin/index.js b/src/tasks/admin/index.js index 4703787..d2a477d 100644 --- a/src/tasks/admin/index.js +++ b/src/tasks/admin/index.js @@ -59,7 +59,7 @@ module.exports = ({ deleteSubscription: initDeleteSubscription({ realmRepository, subscriptionRepository, - sendSubscriptionSyncMessage + sendSubscriptionSyncMessage, }), deleteToken: initDeleteToken({ authRepository,