Skip to content

Commit

Permalink
♻️ :: DTO 오타 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yongbeomkwak committed Dec 9, 2023
1 parent 580a9b2 commit e7e1ed2
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 @@ -10,5 +10,5 @@ import Foundation

public struct LikeResponseDTO: Codable {
public let status: Int?
public let likes: Int
public let like: Int
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public extension LikeResponseDTO {
func toDomain() -> LikeEntity {
LikeEntity(
status: status ?? 200,
likes: likes
likes: like
)
}
}
Expand Down

0 comments on commit e7e1ed2

Please sign in to comment.