Asana API node.js custom field update

I’m trying to change the custom field value with Node.js
Here’s my code

client.tasks.update(‘1161678103000268’,{custom_fields: {enum_value : ‘725394518222140’{gid:‘725394518222142’}}})

What am I doing wrong?

Here is the correct synthax!

1 Like