Skip to content

Commit b54f2c4

Browse files
committed
[#50] Update AppDelegate.swift
1 parent fa9a707 commit b54f2c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

GetHomeSafe/App/AppDelegate.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3838

3939
extension DIContainer {
4040
static func registerDependencies() {
41-
DIContainer.shared.register(DefaultCCTVUseCase() as CCTVUseCase)
41+
DIContainer.shared.register(DefaultCCTVUseCase(repository: DefaultCCTVRepository()) as CCTVUseCase)
4242
DIContainer.shared.register(DefaultHotPlaceUseCase() as HotPlaceUseCase)
43-
DIContainer.shared.register(DefaultPoliceStationUseCase() as PoliceStationUseCase)
43+
DIContainer.shared.register(DefaultPoliceStationUseCase(repository: DefaultPoliceStationRepository()) as PoliceStationUseCase)
4444
DIContainer.shared.register(DefaultAuthenticationUseCase() as AuthenticationUseCase)
4545
DIContainer.shared.register(DefaultSearchRouteUseCase(routeRepository: DefaultRouteRepository(), locationRepository: DefaultLocationRepository()) as SearchRouteUseCase)
4646
}

0 commit comments

Comments
 (0)