use square not curly brackets

This commit is contained in:
meganrogge 2021-05-05 14:19:30 -07:00
parent ad576d73db
commit ab5eff8589
No known key found for this signature in database
GPG key ID: 3155C8B2F0428C81

View file

@ -254,11 +254,11 @@ export class RemoteTerminalChannelClient {
}
updateTitle(id: number, title: string): Promise<string> {
return this._channel.call('$updateTitle', { id, title });
return this._channel.call('$updateTitle', [id, title]);
}
updateIcon(id: number, icon: string): Promise<string> {
return this._channel.call('$updateIcon', { id, icon });
return this._channel.call('$updateIcon', [id, icon]);
}
getTerminalLayoutInfo(): Promise<ITerminalsLayoutInfo | undefined> {