Commit f942124a authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

fix api

parent 5e965dfc
...@@ -38,7 +38,7 @@ interface IRoomParkApi { ...@@ -38,7 +38,7 @@ interface IRoomParkApi {
showSizes: Boolean, showSizes: Boolean,
showWalls: Boolean, showWalls: Boolean,
showElectric: Boolean showElectric: Boolean
): Observable<List<String>> ): Observable<String>
fun getMultiTour(building: Int, flat: Int): Observable<List<PlanRaw>> fun getMultiTour(building: Int, flat: Int): Observable<List<PlanRaw>>
fun getArticlesPage(feedName:String, fun getArticlesPage(feedName:String,
......
...@@ -246,7 +246,7 @@ interface IRoomParkMobileApi{ ...@@ -246,7 +246,7 @@ interface IRoomParkMobileApi{
@Query(DIRECT_PLAN_SIZES_PARAM) sizes:Int, @Query(DIRECT_PLAN_SIZES_PARAM) sizes:Int,
@Query(DIRECT_PLAN_WALLS_PARAM) walls:Int, @Query(DIRECT_PLAN_WALLS_PARAM) walls:Int,
@Query(DIRECT_PLAN_ELECTRIC_PARAM) electric:Int @Query(DIRECT_PLAN_ELECTRIC_PARAM) electric:Int
): Observable<Response<List<String>>> ): Observable<Response<String>>
@GET("$API_URL$GET_MULTITOUR_ID$DELIMITER") @GET("$API_URL$GET_MULTITOUR_ID$DELIMITER")
......
...@@ -87,7 +87,7 @@ class RetrofitRepository(retrofit: Retrofit) : IRoomParkApi { ...@@ -87,7 +87,7 @@ class RetrofitRepository(retrofit: Retrofit) : IRoomParkApi {
showSizes: Boolean, showSizes: Boolean,
showWalls: Boolean, showWalls: Boolean,
showElectric: Boolean showElectric: Boolean
): Observable<List<String>> = ): Observable<String> =
api.getPlan( api.getPlan(
estate_id = estateId, estate_id = estateId,
planType = planType.planId, planType = planType.planId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment