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; }