Skip to content

Commit

Permalink
fix/133 profileImage 프로퍼티명 profileImageURL로 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
youz2me committed Jul 8, 2024
1 parent 55dfe94 commit 27e9698
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
import Foundation

struct ArrivalCompletionResponseModel: Codable {
let name, profileImage: String
let name, profileImageURL: String
let level, promiseCount, tardyCount, tardySum: Int

enum CodingKeys: String, CodingKey {
case name
case profileImage = "profileImg"
case profileImageURL = "profileImg"
case level
case promiseCount
case tardyCount
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
import Foundation

struct PromiseLateInfoResponseModel: Codable {
let penalty, name, profileImage: String
let penalty, name, profileImageURL: String
let isPastDue: Bool
let lateComers: [Comer]
let id: Int

enum CodingKeys: String, CodingKey {
case penalty
case name
case profileImage = "profileImg"
case profileImageURL = "profileImg"
case isPastDue
case lateComers
case id
Expand All @@ -28,11 +28,11 @@ struct PromiseLateInfoResponseModel: Codable {

struct Comer: Codable {
let id: Int
let name, profileImage: String
let name, profileImageURL: String

enum CodingKeys: String, CodingKey {
case id
case name
case profileImage = "profileImg"
case profileImageURL = "profileImg"
}
}

0 comments on commit 27e9698

Please sign in to comment.