From 0f31fd3fe5099fc49c647a5db2150164e95bc45c Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 22 Nov 2021 20:19:51 +0000 Subject: [PATCH] . --- rapids/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rapids/views.py b/rapids/views.py index 823b8c86..e4342ec7 100755 --- a/rapids/views.py +++ b/rapids/views.py @@ -1115,7 +1115,7 @@ def get_question_by_hash(request): try: question = RapidImage.objects.get(image_md5_hash=hash) - data = {"status": "success", "id": question.pk, "url": question.get_absolute_url()} + data = {"status": "success", "id": question.pk, "url": question.rapid.get_absolute_url()} return JsonResponse(data, status=200) except RapidImage.DoesNotExist: data = {"status": "success", "id": False}