Skip to content

Commit 40cdb96

Browse files
committed
remove extraneous endpoint
1 parent 2375b18 commit 40cdb96

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

app/app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,7 @@ def post_intercom_reply(conversation_id, response_text):
278278
return response.json(), response.status_code
279279

280280

281-
# Endpoint to get a whole conversation thread in Intercom and send an LLM answer to user
282-
@app.route('/intercom/conversations/<conversation_id>', methods=['GET'])
283-
@csrf.exempt
281+
# Retrieves a whole conversation thread in Intercom and returns an LLM answer to the user
284282
def get_intercom_conversation(conversation_id):
285283
logger.info(f"Received request to get conversation {conversation_id}")
286284

0 commit comments

Comments
 (0)