Update use of server error blocks
This commit is contained in:
parent
e30a765071
commit
32fb21d0b7
20 changed files with 132 additions and 116 deletions
5
resources/scripts/api/server/backups/index.ts
Normal file
5
resources/scripts/api/server/backups/index.ts
Normal 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`);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue