fix: project id

This commit is contained in:
Muhsin Keloth
2024-05-23 09:08:40 +05:30
parent a4ec09a744
commit 74dc1ef2ae
2 changed files with 3 additions and 2 deletions
@@ -88,6 +88,6 @@ class Api::V1::Accounts::Integrations::LinearController < Api::V1::Accounts::Bas
end
def permitted_params
params.permit(:team_id, :conversation_id, :issue_id, :link_id, :title, :description, :assignee_id, :priority, label_ids: [])
params.permit(:team_id, :project_id, :conversation_id, :issue_id, :link_id, :title, :description, :assignee_id, :priority, label_ids: [])
end
end
+2 -1
View File
@@ -56,7 +56,8 @@ class Linear
description: params[:description],
assigneeId: params[:assignee_id],
priority: params[:priority],
labelIds: params[:label_ids]
labelIds: params[:label_ids],
projectId: params[:project_id]
}.compact
mutation = Linear::Mutations.issue_create(variables)
response = post({ query: mutation })