diff --git a/src/components/pages/AmbassadorsPage.js b/src/components/pages/AmbassadorsPage.js index 6f38ff1..74b8d4e 100644 --- a/src/components/pages/AmbassadorsPage.js +++ b/src/components/pages/AmbassadorsPage.js @@ -138,6 +138,16 @@ class AmbassadorsPage extends Component { searchText: app.addLocationSearchText(ambassador.cities), value: app.addLocation(ambassador.cities) } + ambassador.telegram = { + searchText: ambassador.telegram, + value: ( + {ambassador.telegram} + ) + } ambassador.map = app.addMapButton(ambassador, ambassador.cities); ambassador.link = {stripProtocol(ambassador.url)}; diff --git a/src/utils/feathers.js b/src/utils/feathers.js index 08dde32..187ceef 100644 --- a/src/utils/feathers.js +++ b/src/utils/feathers.js @@ -2,8 +2,8 @@ import feathers from '@feathersjs/client'; const app = feathers(); // Change to your production ambassador web service -// const restClient = feathers.rest('http://localhost:3030'); -const restClient = feathers.rest('https://palmpaybackend.leticiacamara.com'); +const restClient = feathers.rest('http://localhost:3030'); +// const restClient = feathers.rest('https://palmpaybackend.leticiacamara.com'); // Configure an Fetch AJAX library with that client. For fetch details see https://facebook.github.io/react-native/docs/network.html // For rest details see https://docs.feathersjs.com/api/client/rest.html