Skip to content

Commit

Permalink
update callbackurl
Browse files Browse the repository at this point in the history
  • Loading branch information
Yinnii committed Oct 4, 2024
1 parent 13c2e8e commit f104a8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ public ResponseEntity<JSONObject> biwibot(HttpServletRequest req, @RequestBody J
newEvent.put("material", "None");
}
if (body.containsKey("sbfmUrl")) {
final String sbfmUrl = body.getAsString("sbfmUrl");
final String sbfmUrl = body.getAsString("sbfmUrl") + "/" + channel.split("-")[0] + "/" + channel;
if (openAIservice.isActive.containsKey(orgaChannel)) {
if(openAIservice.isActive.getOrDefault(orgaChannel, false) && !msg.startsWith("!")) {
openAIservice.response.put("AIResponse", "Einen Moment bitte, ich verarbeite noch deine erste Nachricht.");
Expand Down

0 comments on commit f104a8e

Please sign in to comment.