From b4c5dcb59cf355acdc41f44a8d5d973f2bf1fe76 Mon Sep 17 00:00:00 2001 From: librarywon Date: Fri, 26 May 2023 13:43:11 +0900 Subject: [PATCH] [FEAT] #8-apply profileService --- app/src/main/java/com/sopt/carrot/data/ApiPool.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/sopt/carrot/data/ApiPool.kt b/app/src/main/java/com/sopt/carrot/data/ApiPool.kt index 71837e0..3a61d1f 100644 --- a/app/src/main/java/com/sopt/carrot/data/ApiPool.kt +++ b/app/src/main/java/com/sopt/carrot/data/ApiPool.kt @@ -2,15 +2,18 @@ package com.sopt.carrot.data import com.sopt.carrot.BuildConfig.API_SERVER_URL import com.sopt.carrot.data.page.PageService +import com.sopt.carrot.data.profile.ProfileService import com.sopt.carrot.data.review.ReviewService import okhttp3.OkHttpClient import retrofit2.Retrofit import retrofit2.converter.gson.GsonConverterFactory +import retrofit2.create import java.util.concurrent.TimeUnit object ApiPool { val pageService = RetrofitPool.toApiServer.create(PageService::class.java) - val reviewService = RetrofitPool.toApiServer.create(ReviewService::class.java) + val reviewService = RetrofitPool.toApiServer.create(ReviewService::class.java) + val profileService = RetrofitPool.toApiServer.create(ProfileService::class.java) } object RetrofitPool {