Hey there!
I’ve a really bad time wrapping my head around this… I’m trying to change a column value from a post request. It’s formed as follows:
var query = `mutation change_column_value($board_id: Int!, $item_id: Int!, $column_id: String!, $value: String!) {
change_column_value(board_id: $board_id, item_id: $item_id, column_id: $column_id, value: $value)
{id}}`
And these are my variables:
var board_id = 3395274995;
var item_id = req.body.eventId;
var column_id = "text71";
var value = "Test";
And I’m getting this response:
'Type mismatch on variable $value and argument value (String! / JSON!)'
I just don’t get it, column_id is a String and that seems to work perfectly but the value throws an error. The field is a simple text field, so it should be of type String or am I missing something?