mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: inbox issue activity (#1310)
This commit is contained in:
parent
d1d8722525
commit
8496422d20
@ -259,7 +259,6 @@ class InboxIssueViewSet(BaseViewSet):
|
||||
|
||||
if issue_serializer.is_valid():
|
||||
current_instance = issue
|
||||
issue_serializer.save()
|
||||
# Log all the updates
|
||||
requested_data = json.dumps(issue_data, cls=DjangoJSONEncoder)
|
||||
if issue is not None:
|
||||
@ -274,6 +273,7 @@ class InboxIssueViewSet(BaseViewSet):
|
||||
cls=DjangoJSONEncoder,
|
||||
),
|
||||
)
|
||||
issue_serializer.save()
|
||||
else:
|
||||
return Response(
|
||||
issue_serializer.errors, status=status.HTTP_400_BAD_REQUEST
|
||||
|
Loading…
Reference in New Issue
Block a user