mirror of
https://github.com/gosticks/plane.git
synced 2025-10-16 12:45:33 +00:00
[SILO-449] fix: add missing methods in external APIs (#7601)
* add missing fields and methods in endpoints * add POST method for project members * make project_id as uuid in url pattern * remove post method * fix method reordering
This commit is contained in:
parent
f10cd92610
commit
c209a713d8
@ -45,6 +45,10 @@ class ProjectCreateSerializer(BaseSerializer):
|
||||
"archive_in",
|
||||
"close_in",
|
||||
"timezone",
|
||||
"logo_props",
|
||||
"external_source",
|
||||
"external_id",
|
||||
"is_issue_type_enabled",
|
||||
]
|
||||
|
||||
read_only_fields = [
|
||||
|
||||
@ -4,7 +4,7 @@ from plane.api.views import ProjectMemberAPIEndpoint, WorkspaceMemberAPIEndpoint
|
||||
|
||||
urlpatterns = [
|
||||
path(
|
||||
"workspaces/<str:slug>/projects/<str:project_id>/members/",
|
||||
"workspaces/<str:slug>/projects/<uuid:project_id>/members/",
|
||||
ProjectMemberAPIEndpoint.as_view(http_method_names=["get"]),
|
||||
name="project-members",
|
||||
),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user