Skip to content

Commit

Permalink
minor fix in GameDealsAppModule
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedAmgd committed Aug 21, 2023
1 parent e6e5095 commit a4b7734
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import javax.inject.Singleton
@Module
@InstallIn(SingletonComponent::class)
internal object GameDealsAppModule {
private const val dealsApiUrl = "https://game-deals.azurewebsites.net/"
private const val DEALS_API_URL = "https://game-deals.azurewebsites.net/"

@Provides
@Singleton
Expand All @@ -34,7 +34,7 @@ internal object GameDealsAppModule {
fun provideGameDealsApi(): GameDealsApi {
return Retrofit
.Builder()
.baseUrl(dealsApiUrl)
.baseUrl(DEALS_API_URL)
.addConverterFactory(GsonConverterFactory.create())
.build()
.create(GameDealsApi::class.java)
Expand Down

0 comments on commit a4b7734

Please sign in to comment.