Skip to content

Commit

Permalink
feat: fix organization subtypes
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhruv9449 committed Apr 16, 2024
1 parent d31f0b9 commit 6e0b8aa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get(request):
status=status.HTTP_404_NOT_FOUND,
)
return Response(
{"sub_types": [organization["sub_type"] for organization in organizations]},
{"sub_types": [organization["sub_type"] for organization in organizations if organization["sub_type"]]},
status=status.HTTP_200_OK,
)

Expand Down

0 comments on commit 6e0b8aa

Please sign in to comment.