From 763fd06f3076c96c7fa45ddd6efcc246520c8fbb Mon Sep 17 00:00:00 2001 From: eug-vs Date: Wed, 12 Aug 2020 21:12:02 +0300 Subject: fix: correctly reupload poll urls --- hooks/fetchImages.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'hooks/fetchImages.ts') diff --git a/hooks/fetchImages.ts b/hooks/fetchImages.ts index 44aac6c..a7eb30c 100644 --- a/hooks/fetchImages.ts +++ b/hooks/fetchImages.ts @@ -1,7 +1,9 @@ import { HookContext } from '@feathersjs/feathers'; import Bluebird from 'bluebird'; import _ from 'lodash'; +import Debug from 'debug'; +const debug = Debug('s3-reuploads'); export default (paths: string[]) => async (context: HookContext): Promise => { const { @@ -19,10 +21,13 @@ export default (paths: string[]) => async (context: HookContext): Promise