Skip to content

Commit

Permalink
Update parameter. I don't know what happened!
Browse files Browse the repository at this point in the history
  • Loading branch information
vince-hz committed Sep 12, 2024
1 parent 451e300 commit 904de7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Flat/Api/Requests/Flat/VideoDataCollectionReqeust.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct VideoDataCollectionReqeust: FlatRequest {
struct VideoDataCollectionToggleReqeust: FlatRequest {
let agree: Bool
var method: HttpMethod { .post }
var task: Task { .requestJSONEncodable(encodable: ["is_agree_collect_data": agree]) }
var task: Task { .requestJSONEncodable(encodable: ["isAgree": agree]) }
var path: String { "/v1/user/agreement/set" }
let responseType = EmptyResponse.self
}

0 comments on commit 904de7d

Please sign in to comment.