mowetentertainment1 eb5b65cec6 initial commit
2025-11-01 19:45:11 -04:00

8 lines
252 B
TypeScript

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