mirror of
https://github.com/barkeser2002/pterodactyl-addons.git
synced 2026-09-25 11:26:03 +03:00
10 lines
361 B
TypeScript
10 lines
361 B
TypeScript
/* eslint-disable camelcase */
|
|
import http from '@/api/http';
|
|
|
|
export default (uuid: string, split_masteruuid: string, serveruuid: string) => {
|
|
return new Promise<void>((resolve, reject) => {
|
|
http.post(`/api/client/servers/${uuid}/splitted/splitremove`, { split_masteruuid, serveruuid }).then(() => resolve())
|
|
.catch(reject);
|
|
});
|
|
};
|