From e50ef18e10a1968baa3bbd4595e1252068b4f256 Mon Sep 17 00:00:00 2001 From: Etienne BLANC-COQUAND Date: Wed, 18 Jul 2018 21:50:30 +0200 Subject: [PATCH] docs(network-interface): update example (#2602) Don't need { --- src/@ionic-native/plugins/network-interface/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/network-interface/index.ts b/src/@ionic-native/plugins/network-interface/index.ts index f1f290455..cb0d318b5 100644 --- a/src/@ionic-native/plugins/network-interface/index.ts +++ b/src/@ionic-native/plugins/network-interface/index.ts @@ -16,7 +16,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core'; * .then(address => console.info(`IP: ${address.ip}, Subnet: ${address.subnet}`)) * .catch(error => console.error(`Unable to get IP: ${error}`)); * - * this.networkInterface.getCarrierIPAddress() { + * this.networkInterface.getCarrierIPAddress() * .then(address => console.info(`IP: ${address.ip}, Subnet: ${address.subnet}`)) * .catch(error => console.error(`Unable to get IP: ${error}`)); *