|
@@ -72,7 +72,8 @@ class MusicListController extends Controller
|
|
return jsonError($validator->errors()->first());
|
|
return jsonError($validator->errors()->first());
|
|
}
|
|
}
|
|
|
|
|
|
- return $this->musicRepository->create($request->all());
|
|
|
|
|
|
+ $data = $this->musicRepository->create($request->all());
|
|
|
|
+ return jsonSuccess($data);
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|