Skip to content

Commit

Permalink
refactor(ipc): convert restful API from camel case to kebab case
Browse files Browse the repository at this point in the history
Ref: oomol-lab/ovm#47

Signed-off-by: Kevin Cui <[email protected]>
  • Loading branch information
BlackHole1 committed Jun 27, 2024
1 parent 17a594c commit bca67da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class RequestDarwin {
}
case "pause":
case "resume":
case "requestStop":
case "request-stop":
case "stop": {
return this.request(p, "POST");
}
Expand All @@ -82,7 +82,7 @@ export class RequestDarwin {
}

public async requestStop(): Promise<void> {
await this.send("requestStop");
await this.send("requests-top");
}

public async stop(): Promise<void> {
Expand Down

0 comments on commit bca67da

Please sign in to comment.