6 7 8 9 10 11
# File 'lib/twenty-backend/graphql/mutation/create_task.rb', line 6 def resolve(input:) Twenty::Task.new(input.to_h).save! {"errors" => []} rescue => ex {"errors" => [ex.message]} end