get all of the backups
This commit is contained in:
parent
81180af27d
commit
71ff19e746
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ public function database_backup_details_uuid(Request $request)
|
|||
return response()->json(['message' => 'Database not found.'], 404);
|
||||
}
|
||||
|
||||
$backupConfig = ScheduledDatabaseBackup::with('executions')->where('database_id', $database->id)->first();
|
||||
$backupConfig = ScheduledDatabaseBackup::with('executions')->where('database_id', $database->id)->get();
|
||||
|
||||
return response()->json($this->removeSensitiveData($backupConfig));
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue