Skip to content

Commit

Permalink
⚡️ :: [#509] DTO 키값 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
KangTaeHoon committed Jun 10, 2024
1 parent 3ae9bb9 commit d9a52aa
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public struct FetchNoticeResponseDTO: Decodable, Equatable {
enum CodingKeys: String, CodingKey {
case id, category, title
case content = "text"
case thumbnail = "thubnailUrl"
case origins = "imageUrls"
case thumbnail = "thubnail"
case origins = "images"
case createdAt
}
}
Expand All @@ -38,7 +38,7 @@ public extension FetchNoticeResponseDTO {

enum CodingKeys: String, CodingKey {
case url = "imageUrl"
case link = "hyperLink"
case link = "hyperlinkUrl"
}
}
}
Expand Down

0 comments on commit d9a52aa

Please sign in to comment.