From fe529f4a7739ac6dd9a30652279818519565ec6a Mon Sep 17 00:00:00 2001 From: eug-vs Date: Thu, 25 Jun 2020 18:52:01 +0300 Subject: style!: fix all linting errors --- services/votes/votes.hooks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'services/votes/votes.hooks.ts') diff --git a/services/votes/votes.hooks.ts b/services/votes/votes.hooks.ts index 1cf7261..7d0b3ba 100644 --- a/services/votes/votes.hooks.ts +++ b/services/votes/votes.hooks.ts @@ -2,7 +2,7 @@ import { HookContext } from '@feathersjs/feathers'; import requireAuth from '../../hooks/requireAuth'; const addUserId = async (context: HookContext): Promise => { - const { params: { user} } = context; + const { params: { user } } = context; context.data.userId = user._id; return context; }; -- cgit v1.2.3