Return import in correct format
This commit is contained in:
parent
bd0f23ed5c
commit
f3d4ca06c8
@ -249,7 +249,7 @@ final class Admin extends Access {
|
|||||||
Validator::required(isset($_POST['albumID'], $_POST['path']), __METHOD__);
|
Validator::required(isset($_POST['albumID'], $_POST['path']), __METHOD__);
|
||||||
|
|
||||||
$import = new Import();
|
$import = new Import();
|
||||||
echo $import->server($_POST['path'], $_POST['albumID']);
|
Response::json($import->server($_POST['path'], $_POST['albumID']));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user