misc_pterodactyl-panel/resources/scripts/api/server/backups/index.ts
2021-01-30 18:01:32 -08:00

5 lines
205 B
TypeScript

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`);
};