Skip to content

Commit

Permalink
#11: Use camel case
Browse files Browse the repository at this point in the history
  • Loading branch information
lika-vorobeva committed Oct 5, 2022
1 parent 9dd7779 commit 0631877
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ enum ConnectionModelError: String, Error {
case signatureGenerationFailed
case nodeIsOffline
case balanceUpdateFailed
case noSelectedNode
case noSubscription
case noQuotaLeft
case tunnelIsAlreadyActive
Expand All @@ -28,8 +27,6 @@ enum ConnectionModelError: String, Error {
return .init(code: 500, message: self.rawValue)
case .balanceUpdateFailed:
return .init(code: 500, message: self.rawValue)
case .noSelectedNode:
return .init(code: 404, message: self.rawValue)
case .noSubscription:
return .init(code: 404, message: self.rawValue)
case .noQuotaLeft:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ struct PostConnectionRequest: Codable {

extension PostConnectionRequest {
enum CodingKeys: String, CodingKey {
case nodeAddress = "node_address"
case nodeAddress
}
}

0 comments on commit 0631877

Please sign in to comment.