fix: Fix crawl method

This commit is contained in:
jhynsoo 2023-11-14 02:13:05 +09:00
parent 7cc2974dbf
commit f5913f2383

View File

@ -6,7 +6,7 @@ from market.models import Product
from graph.models import MonthlyTransaction from graph.models import MonthlyTransaction
def crawl(self, request, queryset): def crawl():
today = timezone.now() today = timezone.now()
month = today.month - 1 month = today.month - 1
year = today.year year = today.year