Skip to content

Commit bca67da

Browse files
committed
refactor(ipc): convert restful API from camel case to kebab case
Ref: oomol-lab/ovm#47 Signed-off-by: Kevin Cui <[email protected]>
1 parent 17a594c commit bca67da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/request.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export class RequestDarwin {
5555
}
5656
case "pause":
5757
case "resume":
58-
case "requestStop":
58+
case "request-stop":
5959
case "stop": {
6060
return this.request(p, "POST");
6161
}
@@ -82,7 +82,7 @@ export class RequestDarwin {
8282
}
8383

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

8888
public async stop(): Promise<void> {

0 commit comments

Comments
 (0)