File tree Expand file tree Collapse file tree
app/src/main/java/com/runnect/runnect/di Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,28 +19,21 @@ import javax.inject.Singleton
1919@InstallIn(SingletonComponent ::class )
2020object ServiceModule {
2121
22- /* * -------- v2 -------- */
2322 @Singleton
2423 @Provides
25- fun providePUserV2Service (@RetrofitModule.RetrofitV2 retrofitV2 : Retrofit ) =
24+ fun providePUserService (@RetrofitModule.RetrofitV2 retrofitV2 : Retrofit ) =
2625 retrofitV2.create(UserService ::class .java)
2726
2827 @Singleton
2928 @Provides
30- fun providePLoginV2Service (@RetrofitModule.RetrofitV2 retrofitV2 : Retrofit ) =
29+ fun providePLoginService (@RetrofitModule.RetrofitV2 retrofitV2 : Retrofit ) =
3130 retrofitV2.create(LoginService ::class .java)
3231
3332 @Singleton
3433 @Provides
35- fun providePCourseV2Service (@RetrofitModule.RetrofitV2 retrofitV2 : Retrofit ) =
34+ fun providePCourseService (@RetrofitModule.RetrofitV2 retrofitV2 : Retrofit ) =
3635 retrofitV2.create(CourseService ::class .java)
3736
38- /* * -------- v1 -------- */
39- @Singleton
40- @Provides
41- fun provideLoginService (@RetrofitModule.Runnect runnectRetrofit : Retrofit ) =
42- runnectRetrofit.create(TokenService ::class .java)
43-
4437 @Singleton
4538 @Provides
4639 fun provideKSearchService (@RetrofitModule.Tmap tmapRetrofit : Retrofit ) =
You can’t perform that action at this time.
0 commit comments