Explorar o código

Distributor node: Remove redundant reqBody in NodeCommandBase children

Leszek Wiesner %!s(int64=3) %!d(string=hai) anos
pai
achega
943c053358

+ 0 - 4
distributor-node/src/commands/node/shutdown.ts

@@ -10,8 +10,4 @@ export default class NodeShutdownCommand extends NodeCommandBase {
   protected reqUrl(): string {
     return '/api/v1/shutdown'
   }
-
-  protected reqBody(): Record<string, unknown> {
-    return {}
-  }
 }

+ 0 - 4
distributor-node/src/commands/node/start-public-api.ts

@@ -10,8 +10,4 @@ export default class NodeStartPublicApiCommand extends NodeCommandBase {
   protected reqUrl(): string {
     return '/api/v1/start-api'
   }
-
-  protected reqBody(): Record<string, unknown> {
-    return {}
-  }
 }

+ 0 - 4
distributor-node/src/commands/node/stop-public-api.ts

@@ -10,8 +10,4 @@ export default class NodeStopPublicApiCommand extends NodeCommandBase {
   protected reqUrl(): string {
     return '/api/v1/stop-api'
   }
-
-  protected reqBody(): Record<string, unknown> {
-    return {}
-  }
 }