Skip to content

Commit

Permalink
refactor: 코드리뷰 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
eemdeeks committed Nov 21, 2024
1 parent 172c4c6 commit ffe2a66
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ import Foundation
public struct DataInformationDTO: Codable {
public let id: UUID
public let type: AirplaINDataType
public let isDelete: Bool
public let isDeleted: Bool
}
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ extension WhiteboardObjectRepository: NearbyNetworkReceiptDelegate {
// TODO: 사용하지 않을 인터페이스로 예상
}

public func nearbyNetwork(_ sender: any NearbyNetworkInterface, didReceiveURL URL: URL, info: DataInformationDTO) {
public func nearbyNetwork(
_ sender: any NearbyNetworkInterface,
didReceiveURL URL: URL,
info: DataInformationDTO
) {
guard let receiveData = filePersistence.load(path: URL) else { return }
filePersistence.save(dataInfo: info, data: receiveData)
guard let whiteboardObject = try? JSONDecoder().decode(
Expand Down

0 comments on commit ffe2a66

Please sign in to comment.