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}`)); *