From c981ff39c0ca5e2a450d4a2d1060cf1f2f1be7d3 Mon Sep 17 00:00:00 2001 From: Christy Jacob Date: Thu, 10 Jun 2021 17:04:14 +0530 Subject: [PATCH] feat: added error models to response model --- src/Appwrite/Utopia/Response/Filters/V07.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Appwrite/Utopia/Response/Filters/V07.php b/src/Appwrite/Utopia/Response/Filters/V07.php index 6001450b9a..36831b4733 100644 --- a/src/Appwrite/Utopia/Response/Filters/V07.php +++ b/src/Appwrite/Utopia/Response/Filters/V07.php @@ -55,6 +55,8 @@ class V07 extends Filter { case Response::MODEL_ANY: case Response::MODEL_PREFERENCES: /** ANY was replaced by PREFERENCES in 0.8.x but this is backward compatible with 0.7.x */ case Response::MODEL_NONE: + case Response::MODEL_ERROR: + case Response::MODEL_ERROR_DEV: $parsedResponse = $content; break; default: