Update BotProductDetailView to return 'bot_banner' instead of 'banner

This commit is contained in:
Parsa Nazer
2025-08-05 00:23:16 +03:30
parent e9b1666423
commit 703bd7d4f3
+1 -1
View File
@@ -467,6 +467,6 @@ class BotProductDetailView(APIView):
product = get_object_or_404(ProductModel, pk=pk, show_in_bot=True)
return Response({
'banner' : product.banner,
'banner' : product.bot_banner,
'link': f'https://heymlz.com/product/{product.slug}'
})