Skip to content

Commit

Permalink
#308 [fix] 대표룰 수정 @Body 어노테이션 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
murjune committed Sep 3, 2023
1 parent 68b72c0 commit 190a1b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion data/src/main/java/hous/release/data/service/RuleService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import hous.release.data.entity.response.rule.CanAddRuleResponse
import hous.release.data.entity.response.rule.DetailRuleResponse
import hous.release.data.entity.response.rule.RulesResponse
import okhttp3.MultipartBody
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.HTTP
import retrofit2.http.Multipart
Expand Down Expand Up @@ -58,7 +59,7 @@ interface RuleService {

@PUT("/v1/rules/represent")
suspend fun updateRepresentRules(
req: UpdateRepresentRulesRequest
@Body req: UpdateRepresentRulesRequest
): NoDataResponse

@HTTP(method = "DELETE", path = "/v2/rule/{id}")
Expand Down

0 comments on commit 190a1b6

Please sign in to comment.