-
Goal:
I expect[1]
and{{[1]}}
to be the same. -
Steps:
I have the follow GRPC API
service Admin {
rpc DeleteUsers(UserIds) returns (google.protobuf.Empty);
}
message UserIds { repeated int32 user_ids = 1; }
And I'm trying using a multiselect row to fill the request body
{
"user_ids": {{table.selectedRowKeys}}
}
If I select two rows it works, but if I select one row I receive the error:
message:"Error: 13 INTERNAL: Request message serialization failure: .retool.UserIds.user_ids: array expected"
If I write the id hard-coded it works too:
{
"user_ids": [1]
}
But with {{[1]}}
it doesn't work.