Skip to content

Commit

Permalink
[Fix] #388 - 오타수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yungu0010 committed Sep 27, 2024
1 parent 44bebe7 commit 08e3921
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class DailySoptuneRepository {
}
}

extension DailySoptuneRepository: DailySoptuneRepositoyInterface {
extension DailySoptuneRepository: DailySoptuneRepositoryInterface {
public func getDailySoptuneResult(date: String) -> AnyPublisher<DailySoptuneResultModel, Error> {
self.fortuneService
.getDailySoptuneResult(date: date)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//
// DailySoptuneRepositoyInterface.swift
// DailySoptuneRepositoryInterface.swift
// Domain
//
// Created by 강윤서 on 9/27/24.
Expand All @@ -8,6 +8,6 @@

import Combine

public protocol DailySoptuneRepositoyInterface {
public protocol DailySoptuneRepositoryInterface {
func getDailySoptuneResult(date: String) -> AnyPublisher<DailySoptuneResultModel, Error>
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ public protocol DailySoptuneUseCase {

public class DefaultDailySoptuneUseCase {

private let repository: DailySoptuneRepositoyInterface
private let repository: DailySoptuneRepositoryInterface
private let cancelBag = CancelBag()

public let dailySoptuneResult = PassthroughSubject<DailySoptuneResultModel, Never>()

public init(repository: DailySoptuneRepositoyInterface) {
public init(repository: DailySoptuneRepositoryInterface) {
self.repository = repository
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import UIKit
import Core
import BaseFeatureDependency
import RootFeature
import DailySoptuneFeature

class SceneDelegate: UIResponder, UIWindowSceneDelegate {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ extension AppDelegate {
}
)
container.register(
interface: DailySoptuneRepositoyInterface.self,
interface: DailySoptuneRepositoryInterface.self,
implement: {
DailySoptuneRepository(
fortuneService: DefaultFortuneService()
Expand Down

0 comments on commit 08e3921

Please sign in to comment.