From 467afebd96947aa3ab0f9d4cd2613126260fb7da Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Wed, 20 Jan 2021 06:47:57 +0200 Subject: [PATCH] Remove FX patch from this PR --- app/workers/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/workers/functions.php b/app/workers/functions.php index c9f925493c..cc276ed522 100644 --- a/app/workers/functions.php +++ b/app/workers/functions.php @@ -278,8 +278,8 @@ class FunctionsV1 'time' => 0, ]); - if(false === $execution || ($execution instanceof Document && $execution->isEmpty())) { - throw new Exception('Failed to create or read execution'); + if(false === $execution) { + throw new Exception('Failed to create execution'); } Authorization::reset();