fix: coderabbitai comments

This commit is contained in:
Mustaque Ahmed
2025-10-14 15:48:02 +05:30
parent 391336e080
commit 2bf0529f85
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -590,7 +590,7 @@ App::init()
// Only proceed for preview when not disabled; other routes unaffected
// Skip the block only when transformations remain enabled.
if ($isImageTransformation && $isTransformationsBlocked) {
if ($isImageTransformation && $isTransformationsBlocked && !$isPrivilegedUser) {
throw new Exception(Exception::STORAGE_TRANSFORMATIONS_DISABLED);
}