Skip to content

Commit

Permalink
Resolve naming inconsistencies (#1692)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/1204167627774280/1205568633568787/f

**Description**:
Resolve naming inconsistencies between backend and client side
  • Loading branch information
Bunn authored Sep 28, 2023
1 parent 59fe5c6 commit ee02695
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ struct CaptchaService: CaptchaServiceProtocol {
request.addValue("application/json; charset=utf-8", forHTTPHeaderField: "Content-Type")

let bodyObject: [String: Any] = [
"sitekey": captchaInfo.siteKey,
"siteKey": captchaInfo.siteKey,
"url": captchaInfo.url,
"type": captchaInfo.type
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public enum AuthenticationError: Error, Equatable {

struct RedeemResponse: Codable {
enum CodingKeys: String, CodingKey {
case accessToken = "access_token"
case accessToken
case message
}

Expand Down

0 comments on commit ee02695

Please sign in to comment.