mirror of
https://github.com/modrinth/code.git
synced 2026-08-30 19:46:33 +00:00
feat: server settings split up + copy changes across panel warning modals
This commit is contained in:
@@ -101,10 +101,7 @@ export class ArchonServersV0Module extends AbstractModule {
|
||||
* Send a power action to a server (Start, Stop, Restart, Kill)
|
||||
* POST /modrinth/v0/servers/:id/power
|
||||
*/
|
||||
public async power(
|
||||
serverId: string,
|
||||
action: Archon.Servers.v0.PowerAction,
|
||||
): Promise<void> {
|
||||
public async power(serverId: string, action: Archon.Servers.v0.PowerAction): Promise<void> {
|
||||
await this.client.request(`/servers/${serverId}/power`, {
|
||||
api: 'archon',
|
||||
method: 'POST',
|
||||
|
||||
Reference in New Issue
Block a user