mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: slack project integration (#2684)
This commit is contained in:
parent
0afb900678
commit
4de64f112f
@ -59,6 +59,7 @@ class SlackProjectSyncViewSet(BaseViewSet):
|
|||||||
team_id=slack_response.get("team", {}).get("id"),
|
team_id=slack_response.get("team", {}).get("id"),
|
||||||
team_name=slack_response.get("team", {}).get("name"),
|
team_name=slack_response.get("team", {}).get("name"),
|
||||||
workspace_integration=workspace_integration,
|
workspace_integration=workspace_integration,
|
||||||
|
project_id=project_id,
|
||||||
)
|
)
|
||||||
_ = ProjectMember.objects.get_or_create(
|
_ = ProjectMember.objects.get_or_create(
|
||||||
member=workspace_integration.actor, role=20, project_id=project_id
|
member=workspace_integration.actor, role=20, project_id=project_id
|
||||||
|
Loading…
Reference in New Issue
Block a user