Skip to content

Commit 0322e1f

Browse files
[FIX]: owner.name으로 하면 발생하는 버그 임시 조치
1 parent 003ac4e commit 0322e1f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Data/Data/SharingVideoRepository.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ public final class SharingVideoRepository: SharingVideoRepositoryInterface {
3434
public init(socketProvider: SharingVideoSocketProvidable) {
3535
self.socketProvider = socketProvider
3636
socketProvider.resourceShared
37-
.compactMap { DataMapper.mappingToSharedVideo($0) }
37+
.compactMap {
38+
return .init(localUrl: $0.url, name: $0.name, author: "iPhone")
39+
}
3840
.subscribe(updatedSharedVideo)
3941
.store(in: &cancellables)
4042

0 commit comments

Comments
 (0)