diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-06-07 15:16:55 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-06-07 15:16:55 +0300 |
| commit | e1ef746cab8f54be8ff23673ebb18d951ffa32e3 (patch) | |
| tree | aecd9f8c2be3a7fbe45884c411ab8f0f7f1f5270 /web | |
| parent | fc714962ad83cea7ceeb8672d2a57397f61f2510 (diff) | |
Outbound - Correct parameter order in Grpc #2270 #2348
Co-Authored-By: Amir Hossein Jeddi <seriousmvs@gmail.com>
Diffstat (limited to 'web')
| -rw-r--r-- | web/assets/js/model/outbound.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/web/assets/js/model/outbound.js b/web/assets/js/model/outbound.js index e8f846b4..8d4315d4 100644 --- a/web/assets/js/model/outbound.js +++ b/web/assets/js/model/outbound.js @@ -258,22 +258,22 @@ class QuicStreamSettings extends CommonClass { } class GrpcStreamSettings extends CommonClass { - constructor(serviceName="", multiMode=false, authority="") { + constructor(serviceName="", authority="", multiMode=false) { super(); this.serviceName = serviceName; - this.multiMode = multiMode; this.authority = authority; + this.multiMode = multiMode; } static fromJson(json={}) { - return new GrpcStreamSettings(json.serviceName, json.multiMode,json.authority); + return new GrpcStreamSettings(json.serviceName, json.authority, json.multiMode ); } toJson() { return { serviceName: this.serviceName, - multiMode: this.multiMode, - authority: this.authority + authority: this.authority, + multiMode: this.multiMode } } } |
