Update ConsoleApiController.php
This commit is contained in:
@@ -335,7 +335,8 @@ class ConsoleApiController extends AbstractController
|
|||||||
|
|
||||||
public function createPresignedUpload(string $bucketName, string $objectKey, Request $request): JsonResponse
|
public function createPresignedUpload(string $bucketName, string $objectKey, Request $request): JsonResponse
|
||||||
{
|
{
|
||||||
if ($resp = $this->checkAuth($request)) {
|
$resp = $this->checkAuth($request);
|
||||||
|
if (!empty($resp)) {
|
||||||
return $resp;
|
return $resp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user