Updated BiTSy to use v2 of the webservice to fetch merchants information.

This commit is contained in:
Severiano Jaramillo 2019-04-10 18:44:17 -05:00
parent 6f132c049f
commit b5371954e0

View file

@ -8,7 +8,7 @@ import retrofit2.http.Query
interface MerchantsWebservice { interface MerchantsWebservice {
@GET("/api/v1/merchants") @GET("/api/v2/merchants")
fun getMerchants(@Query(value = "\$skip") skip: Int, fun getMerchants(@Query(value = "\$skip") skip: Int,
@Query(value = "\$limit") limit: Int = 50): @Query(value = "\$limit") limit: Int = 50):
Call<FeathersResponse<Merchant>> Call<FeathersResponse<Merchant>>