Update use of server error blocks

This commit is contained in:
Dane Everitt 2021-01-30 18:01:32 -08:00
parent e30a765071
commit 32fb21d0b7
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
20 changed files with 132 additions and 116 deletions

View file

@ -0,0 +1,5 @@
import http from '@/api/http';
export const restoreServerBackup = async (uuid: string, backup: string): Promise<void> => {
await http.post(`/api/client/servers/${uuid}/backups/${backup}/restore`);
};