Replace DI::apiResponse()->exit() with $this->response->exit()
This commit is contained in:
committed by
Hypolite Petovan
parent
2dc60cfd33
commit
a88cc8d5c8
@@ -65,6 +65,6 @@ class Upload extends BaseApi
|
||||
|
||||
Logger::info('Media uploaded', ['return' => $returndata]);
|
||||
|
||||
DI::apiResponse()->exit('media', ['media' => $returndata], $this->parameters['extension'] ?? null);
|
||||
$this->response->exit('media', ['media' => $returndata], $this->parameters['extension'] ?? null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user