[WEB-5263] chore: removed the tracking of sanitized HTML (#8023)

* chore: removed the html sanitized tracking

* chore: added the greater than sign
This commit is contained in:
Bavisetti Narayan 2025-10-28 16:57:07 +05:30 committed by GitHub
parent 044003e7ec
commit e09d986497
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View file

@ -1221,7 +1221,7 @@ class TransferCycleIssueAPIEndpoint(BaseAPIView):
pk=cycle_id,
)
# transfer work items only when cycle is completed (passed the end data)
if old_cycle.end_date is not None and old_cycle.end_date < timezone.now():
if old_cycle.end_date is not None and old_cycle.end_date > timezone.now():
return Response(
{"error": "The old cycle is not completed yet"},
status=status.HTTP_400_BAD_REQUEST,