fix: Labels cannot be added to conversations (#1644)

This commit is contained in:
Pranav Raj S
2021-01-13 12:15:11 +05:30
committed by GitHub
parent 764c90174e
commit 8c66dbd342
4 changed files with 7 additions and 7 deletions

View File

@@ -8,6 +8,6 @@ class Api::V1::Accounts::Conversations::LabelsController < Api::V1::Accounts::Co
end
def permitted_params
params.permit(:conversation_id, :labels)
params.permit(:conversation_id, labels: [])
end
end