diff options
| author | Emīls Piņķis <emils@mullvad.net> | 2019-06-06 11:18:09 +0100 |
|---|---|---|
| committer | Emīls Piņķis <emils@mullvad.net> | 2019-06-06 12:12:45 +0100 |
| commit | ee2ad5124f2773119c0665410cc65f544a02f0fc (patch) | |
| tree | 402ba5af0addac5c745b52a43de537a1ae36e3a7 | |
| parent | 35a2f4db5734b27d0a47a24a641d55fe5d89afe9 (diff) | |
| download | mullvadvpn-ee2ad5124f2773119c0665410cc65f544a02f0fc.tar.xz mullvadvpn-ee2ad5124f2773119c0665410cc65f544a02f0fc.zip | |
Fix ITunnelEndpoint and IProxyEndpoint
| -rw-r--r-- | gui/src/shared/daemon-rpc-types.ts | 4 | ||||
| -rw-r--r-- | gui/test/components/NotificationArea.spec.tsx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts index a3f81e29be..108f6dc98f 100644 --- a/gui/src/shared/daemon-rpc-types.ts +++ b/gui/src/shared/daemon-rpc-types.ts @@ -41,14 +41,14 @@ export type ProxyType = 'shadowsocks' | 'custom'; export interface ITunnelEndpoint { address: string; protocol: RelayProtocol; - tunnel: TunnelType; + tunnelType: TunnelType; proxy?: IProxyEndpoint; } export interface IProxyEndpoint { address: string; protocol: RelayProtocol; - proxy_type: ProxyType; + proxyType: ProxyType; } export type DaemonEvent = diff --git a/gui/test/components/NotificationArea.spec.tsx b/gui/test/components/NotificationArea.spec.tsx index c117db914e..7b1a69bd8a 100644 --- a/gui/test/components/NotificationArea.spec.tsx +++ b/gui/test/components/NotificationArea.spec.tsx @@ -65,7 +65,7 @@ describe('components/NotificationArea', () => { details: { address: '1.2.3.4', protocol: 'tcp', - tunnel: 'openvpn', + tunnelType: 'openvpn', }, }} version={defaultVersion} |
