Skip to content

Commit

Permalink
Merge pull request #12 from Jeon0976/hotfix
Browse files Browse the repository at this point in the history
[fix]: 홈페이지 업데이트 실패 버그 수정 #2
  • Loading branch information
Jeon0976 committed Oct 12, 2023
2 parents b451f3e + 8e8b931 commit 91af454
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AVIRO/Manager/APIManager/AVIROManager/AVIROAPIManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -316,15 +316,15 @@ final class AVIROAPIManager: AVIROAPIMangerProtocol {
}

func editPlaceURL(
with url: AVIROEditURLDTO,
with urlData: AVIROEditURLDTO,
completionHandler: @escaping (Result<AVIROResultDTO, APIError>) -> Void
) {
guard let url = postAPI.editPlaceURL().url else {
completionHandler(.failure(.urlError))
return
}

guard let jsonData = try? JSONEncoder().encode(url) else {
guard let jsonData = try? JSONEncoder().encode(urlData) else {
completionHandler(.failure(.encodingError))
return
}
Expand Down

0 comments on commit 91af454

Please sign in to comment.