Skip to content

Commit

Permalink
Corrects parameter name in types
Browse files Browse the repository at this point in the history
  • Loading branch information
philnash committed Jan 16, 2021
1 parent db6ca64 commit 1e9131b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class NgrokClient {
}

startTunnel(options={}) {
return this.request('post', 'api/tunnels', options );
return this.request('post', 'api/tunnels', options);
}

tunnelDetail(name) {
Expand Down
2 changes: 1 addition & 1 deletion ngrok.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ declare module "ngrok" {
listTunnels(): Promise<Ngrok.TunnelsResponse>;
startTunnel(options: Ngrok.Options): Promise<Ngrok.Tunnel>;
tunnelDetail(name: string): Promise<Ngrok.Tunnel>;
stopTunnel(tunnelUrl: string): Promise<boolean>;
stopTunnel(name: string): Promise<boolean>;
listRequests(
options: Ngrok.CapturedRequestOptions
): Promise<Ngrok.RequestsResponse>;
Expand Down

0 comments on commit 1e9131b

Please sign in to comment.