package de.beyondsoft.ownchat.page.profile;

import de.beyondsoft.ownchat.data.api.services.ProfileService;
import de.beyondsoft.ownchat.di.P3DSEndpoint;
import de.beyondsoft.ownchat.di.scopes.ActivityScope;

import dagger.Module;
import dagger.Provides;
import retrofit2.Retrofit;

@Module
class ProfileModule {

    @Provides
    @ActivityScope
    ProfileService provideProfileService(@P3DSEndpoint Retrofit retrofit) {
        return retrofit.create(ProfileService.class);
    }
}

