Skip to content

Commit 32fb21d

Browse files
committed
Update use of server error blocks
1 parent e30a765 commit 32fb21d

File tree

20 files changed

+132
-116
lines changed

20 files changed

+132
-116
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import http from '@/api/http';
2+
3+
export const restoreServerBackup = async (uuid: string, backup: string): Promise<void> => {
4+
await http.post(`/api/client/servers/${uuid}/backups/${backup}/restore`);
5+
};
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)