Minor fixes (#3318)

This commit is contained in:
David Bomba 2020-02-12 20:27:35 +11:00 committed by GitHub
parent 2da1f24868
commit 5649c039c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -26,7 +26,8 @@ class SelfUpdateController extends BaseController
public function update(UpdaterManager $updater) public function update(UpdaterManager $updater)
{ {
$updater->update(); $res = $updater->update();
return response()->json($res);
} }
} }

View File

@ -57,7 +57,7 @@ class ClientRepository extends BaseRepository
*/ */
public function save(array $data, Client $client) : ?Client public function save(array $data, Client $client) : ?Client
{ {
\Log::error($data);
$client->fill($data); $client->fill($data);
$client->save(); $client->save();