Skip to content

Commit

Permalink
update region config method
Browse files Browse the repository at this point in the history
  • Loading branch information
AderanFeng committed Mar 7, 2024
1 parent 2a0a3d2 commit b422c5e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions app/src/main/java/io/agora/flat/http/api/MiscService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package io.agora.flat.http.api
import io.agora.flat.data.model.*
import retrofit2.Call
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST

/**
Expand Down Expand Up @@ -32,8 +33,6 @@ interface MiscService {
@Body req: RtmCensorReq,
): Call<BaseResp<RtmCensorRespData>>

@POST("v2/region/configs")
fun getRegionConfigs(
@Body req: BaseReq = BaseReq.EMPTY,
): Call<BaseResp<RegionConfigs>>
@GET("v2/region/configs")
fun getRegionConfigs(): Call<BaseResp<RegionConfigs>>
}

0 comments on commit b422c5e

Please sign in to comment.