Skip to content

Commit

Permalink
Update MainActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
rakshixh committed Jul 29, 2022
1 parent f618c35 commit 3a03297
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/com/example/eata/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public void emj(View v) {
private void getResponse(String message) {
chatsmodalArrayList.add(new Chatsmodal(message,USER_KEY));
chatAdapter.notifyDataSetChanged();
String url = "http://api.brainshop.ai/get?bid=166629&key=p5j26OYuH2X3RR28&uid=[uid]&msg=[msg]"+message;
String url = "*****enter your api key*****"+message;
String BASE_URL = "http://api.brainshop.ai/";
Retrofit retrofit = new Retrofit.Builder()
.baseUrl(BASE_URL)
Expand All @@ -95,4 +95,4 @@ public void onFailure(Call<MsgModal> call, Throwable t) {
}
});
}
}
}

0 comments on commit 3a03297

Please sign in to comment.