Skip to content

Commit dc755b3

Browse files
🐛 #47 fixed environment issue
1 parent cc6825f commit dc755b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/contentstack/sdk/CSHttpConnection.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ public void send() {
184184
private void getService(String requestUrl) throws IOException {
185185
Retrofit retrofit = new Retrofit.Builder().baseUrl(this.endpoint).build();
186186
APIService service = retrofit.create(APIService.class);
187+
// [Removed environment deletion]
187188
this.headers.put(X_USER_AGENT, CLIENT_USER_AGENT);
188189
this.headers.put(CONTENT_TYPE, APPLICATION_JSON);
189190
Response<ResponseBody> response = service.getRequest(requestUrl, this.headers).execute();

0 commit comments

Comments
 (0)