mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
Merge branch 'perf/cycle-module-endpoints' of github.com:makeplane/plane into perf/cycle-module-endpoints
This commit is contained in:
commit
0e8258dfe5
@ -90,7 +90,7 @@ class IssueListEndpoint(BaseAPIView):
|
||||
def post(self, request, slug, project_id):
|
||||
issues = request.data.get("issues", [])
|
||||
|
||||
if issues:
|
||||
if not issues:
|
||||
return Response(
|
||||
{"error": "Issues are required"},
|
||||
status=status.HTTP_400_BAD_REQUEST,
|
||||
|
Loading…
Reference in New Issue
Block a user