Change the merchants and ambs webservice url.

This commit is contained in:
Severiano Jaramillo 2018-12-21 13:05:35 -06:00
parent 62fdc6a3e4
commit 9647e700ed
2 changed files with 4 additions and 2 deletions

View file

@ -27,7 +27,7 @@ import android.graphics.Bitmap
import android.graphics.Canvas import android.graphics.Canvas
import android.graphics.drawable.Drawable import android.graphics.drawable.Drawable
import com.google.android.gms.maps.model.BitmapDescriptor import com.google.android.gms.maps.model.BitmapDescriptor
import cy.agorise.bitsybitshareswallet.utils.Constants
class MerchantsFragment : Fragment(), OnMapReadyCallback, retrofit2.Callback<FeathersResponse<Merchant>> { class MerchantsFragment : Fragment(), OnMapReadyCallback, retrofit2.Callback<FeathersResponse<Merchant>> {
@ -73,7 +73,7 @@ class MerchantsFragment : Fragment(), OnMapReadyCallback, retrofit2.Callback<Fea
.setLenient() .setLenient()
.create() .create()
val retrofit = Retrofit.Builder() val retrofit = Retrofit.Builder()
.baseUrl("https://intranet.palmpay.io/") .baseUrl(Constants.MERCHANTS_WEBSERVICE_URL)
.addConverterFactory(GsonConverterFactory.create(gson)) .addConverterFactory(GsonConverterFactory.create(gson))
.build() .build()

View file

@ -43,4 +43,6 @@ object Constants {
/** Key used to store the night mode setting into the shared preferences */ /** Key used to store the night mode setting into the shared preferences */
const val KEY_NIGHT_MODE_ACTIVATED = "key_night_mode_activated" const val KEY_NIGHT_MODE_ACTIVATED = "key_night_mode_activated"
const val MERCHANTS_WEBSERVICE_URL = "https://websvc.palmpay.io/"
} }