Image Endpoint

This commit is contained in:
2024-07-27 20:43:57 +02:00
parent 5ebdee09d8
commit 42529a66d4
6 changed files with 207 additions and 22 deletions
+1 -1
View File
@@ -31,6 +31,6 @@ class Input
public static function file(string $index, $defaultValue = null)
{
$value = Request::request()->getInputHandler()->file($index, $defaultValue);
return !is_object($value) ? $value : $value->getValue();
return $value;
}
}