Fix 'UpdateTask'
This commit is contained in:
parent
9bbc067ff0
commit
b459240ddb
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ module Twenty::GraphQL::Mutation
|
|||
def resolve(task_id:, input:)
|
||||
Twenty::Task
|
||||
.with_pk!(task_id)
|
||||
.update!(input.to_h)
|
||||
.update(input.to_h)
|
||||
{"errors" => []}
|
||||
rescue => ex
|
||||
{"errors" => [ex.message]}
|
||||
|
|
Loading…
Reference in a new issue