optimize the System Update process
This commit is contained in:
@ -47,9 +47,9 @@ namespace Oqtane.Services
|
||||
return await PostJsonAsync<InstallConfig,Installation>(ApiUrl, config);
|
||||
}
|
||||
|
||||
public async Task<Installation> Upgrade()
|
||||
public async Task<Installation> Upgrade(bool backup)
|
||||
{
|
||||
return await GetJsonAsync<Installation>($"{ApiUrl}/upgrade");
|
||||
return await GetJsonAsync<Installation>($"{ApiUrl}/upgrade/?backup={backup}");
|
||||
}
|
||||
|
||||
public async Task RestartAsync()
|
||||
|
Reference in New Issue
Block a user