diff --git a/js/upload/main.ts b/js/upload/main.ts index 469b0333d5..e915d865b3 100644 --- a/js/upload/main.ts +++ b/js/upload/main.ts @@ -1,7 +1,7 @@ import isFunction from 'lodash/isFunction'; import isNumber from 'lodash/isNumber'; /* eslint-disable no-param-reassign */ -import { isOverSizeLimit } from './utils'; +import { getCurrentDate, isOverSizeLimit } from './utils'; import xhr from './xhr'; import log from '../log/log'; import { @@ -171,6 +171,8 @@ export function uploadOneRequest(params: HandleUploadParams): Promise