mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: update the endpoint to return last 6 months data (#453)
This commit is contained in:
parent
e5f8c94de8
commit
7fd775ab05
@ -591,7 +591,7 @@ class UserActivityGraphEndpoint(BaseAPIView):
|
||||
IssueActivity.objects.filter(
|
||||
actor=request.user,
|
||||
workspace__slug=slug,
|
||||
created_at__date__gte=date.today() + relativedelta(months=-3),
|
||||
created_at__date__gte=date.today() + relativedelta(months=-6),
|
||||
)
|
||||
.annotate(created_date=Cast("created_at", DateField()))
|
||||
.values("created_date")
|
||||
|
Loading…
Reference in New Issue
Block a user