docs(network-interface): update example (#2602)

Don't need {
This commit is contained in:
Etienne BLANC-COQUAND 2018-07-18 21:50:30 +02:00 committed by Daniel Sogl
parent b581a5b2b6
commit e50ef18e10

View File

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