File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
app/src/main/java/com/codepath/bestsellerlistapp/networking Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ import retrofit2.converter.gson.GsonConverterFactory
19
19
* https://developer.nytimes.com/get-started to create your own developer account,
20
20
* after copy and paste the API key under your Account -> Apps -> <Your App> -> API Keys
21
21
</Your> */
22
+ // TODO: Replace the below API key with your own generated key
23
+ private const val API_KEY = " <YOUR-API-KEY-GOES-HERE>"
22
24
class NYTimesApiClient {
23
25
private val nyTimesService: NYTimesService
24
26
@@ -50,10 +52,4 @@ class NYTimesApiClient {
50
52
}
51
53
})
52
54
}
53
-
54
- companion object {
55
- // TODO: Replace the below API key with your own generated key
56
- private const val API_KEY = " <YOUR-API-KEY-GOES-HERE>"
57
- }
58
-
59
55
}
You can’t perform that action at this time.
0 commit comments