Adjust some naming real quick
This commit is contained in:
parent
bfc6f34c50
commit
4c29be2e54
4 changed files with 29 additions and 32 deletions
|
@ -59,8 +59,8 @@ class BackupStatusController extends Controller
|
|||
}
|
||||
|
||||
$action = $request->input('successful')
|
||||
? AuditLog::ACTION_SERVER_BACKUP_COMPELTED
|
||||
: AuditLog::ACTION_SERVER_BACKUP_FAILED;
|
||||
? AuditLog::SERVER__BACKUP_COMPELTED
|
||||
: AuditLog::SERVER__BACKUP_FAILED;
|
||||
|
||||
$model->server->audit($action, function (AuditLog $audit) use ($model, $request) {
|
||||
$audit->metadata = ['backup_uuid' => $model->uuid];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue