From d1502029d1fdcf040c725134bb69cfd060e4b37a Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Wed, 4 Oct 2023 15:05:42 +1300 Subject: [PATCH] Fix missing array flag on migration errors response model rule --- src/Appwrite/Utopia/Response/Model/Migration.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Appwrite/Utopia/Response/Model/Migration.php b/src/Appwrite/Utopia/Response/Model/Migration.php index 78e8658032..5a54eef3ad 100644 --- a/src/Appwrite/Utopia/Response/Model/Migration.php +++ b/src/Appwrite/Utopia/Response/Model/Migration.php @@ -68,6 +68,7 @@ class Migration extends Model ->addRule('errors', [ 'type' => self::TYPE_STRING, 'description' => 'All errors that occurred during the migration process.', + 'array' => true, 'default' => [], 'example' => [], ])