We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3afff0 commit 98dafb1Copy full SHA for 98dafb1
server/Django-Backend/linker/views.py
@@ -43,7 +43,6 @@ def show_alias_link_info(request, link):
43
data = {**serializer.data, 'target-url': result.link.url_address}
44
return Response(data, status=status.HTTP_200_OK)
45
46
-
47
return Response({"status": "failed", "message": "there is no short link by given url address"}, status=status.HTTP_404_NOT_FOUND)
48
49
@@ -56,5 +55,6 @@ def resolve_alias_link(request, link):
56
55
if result.exists():
57
result = result.first()
58
return HttpResponseRedirect(result.link.url_address)
+
59
60
0 commit comments