From 5cf027bdc46f1bf214c4cf26eee17ebda228004f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 10 Nov 2021 14:34:02 +0100 Subject: Force video updatedAt update on update --- shared/extra-utils/requests/requests.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'shared') diff --git a/shared/extra-utils/requests/requests.ts b/shared/extra-utils/requests/requests.ts index 501e0b374..b6b9024ed 100644 --- a/shared/extra-utils/requests/requests.ts +++ b/shared/extra-utils/requests/requests.ts @@ -85,6 +85,7 @@ function makeUploadRequest (options: CommonRequestParams & { Object.keys(options.attaches || {}).forEach(attach => { const value = options.attaches[attach] + if (!value) return if (Array.isArray(value)) { req.attach(attach, buildAbsoluteFixturePath(value[0]), value[1]) -- cgit v1.2.3