fix update-app screen spacing and alerts

This commit is contained in:
Mohit Panjwani
2019-11-16 13:27:37 +05:30
parent 61a7aea0cd
commit 2a0c6932ca
4 changed files with 45 additions and 22 deletions

View File

@ -26,7 +26,7 @@ class Updater
if ($response instanceof RequestException) {
return [
'success' => false,
'errors' => 'Download Exception',
'error' => 'Download Exception',
'data' => [
'path' => $path
]
@ -84,13 +84,13 @@ class Updater
return [
'success' => true,
'errors' => false,
'error' => false,
'data' => []
];
} catch (\Exception $e) {
return [
'success' => false,
'errors' => 'Update error',
'error' => 'Update error',
'data' => []
];
}