package de.beyondsoft.ownchat.page.fileconfirmation;

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

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

/**
 * Created by Lyndon on 13-Oct-2017.
 */

@Module
public class FileConfirmationModule {
    @Provides
    @ActivityScope
    ChatService provideChatService(@P3DSEndpoint Retrofit retrofit) {
        return retrofit.create(ChatService.class);
    }
}
