From 0cbaeb4352f273cd6b758b5cd8e4e3c88913a3c9 Mon Sep 17 00:00:00 2001 From: Bishwajeet Parhi Date: Tue, 18 Jul 2023 09:53:39 +0530 Subject: [PATCH] chore: add ImageGravity x-enum-name --- src/Appwrite/Specification/Format.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Appwrite/Specification/Format.php b/src/Appwrite/Specification/Format.php index 7959784a46..047cfe5f8c 100644 --- a/src/Appwrite/Specification/Format.php +++ b/src/Appwrite/Specification/Format.php @@ -116,6 +116,13 @@ abstract class Format case 'getFlag': return 'Flag'; } + break; + case 'storage': + switch ($method) { + case 'getFilePreview': + return 'ImageGravity'; + } + break; } return null; }