misc_pterodactyl-panel/resources/scripts/api/server/reinstallServer.ts

10 lines
270 B
TypeScript
Raw Permalink Normal View History

import http from '@/api/http';
export default (uuid: string): Promise<void> => {
return new Promise((resolve, reject) => {
http.post(`/api/client/servers/${uuid}/settings/reinstall`)
.then(() => resolve())
.catch(reject);
});
2020-07-05 01:30:50 +00:00
};