mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Edge case for test case
This commit is contained in:
1 parent
90b9d176ba
commit
47316a250b
1 file changed
+4
-2
@@ -24,8 +24,10 @@ class V18 extends Filter
|
||||
|
||||
protected function parseExecution(array $content)
|
||||
{
|
||||
if($content['status'] === 'completed' && $content['statusCode'] >= 400 && $content['statusCode'] < 500) {
|
||||
$content['status'] = 'failed';
|
||||
if(!empty($content['status']) && !empty($content['statusCode'])) {
|
||||
if($content['status'] === 'completed' && $content['statusCode'] >= 400 && $content['statusCode'] < 500) {
|
||||
$content['status'] = 'failed';
|
||||
}
|
||||
}
|
||||
|
||||
unset($content['scheduledAt']);
|
||||
|
||||
Reference in new issue
Block a user