Skip to content

Commit

Permalink
Cambio de error en laurachatbot.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Blaister9 committed Oct 3, 2024
1 parent 9f67976 commit 4b88651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/chatbot_laura/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def search(self, query, k=3):

@api_view(['POST'])
@csrf_exempt
async def chatbot_laura_view(request):
def chatbot_laura_view(request):
try:
data = json.loads(request.body)
query = data.get('mensaje', '')
Expand Down

0 comments on commit 4b88651

Please sign in to comment.