Hello everyone, hope everything is all right!!
So, i have a variable inside a collection that is an array of arrays, here is an example:
[
[
"1",
"Matthew",
"IT"
],
[
"2",
"breanna",
"RH"
],
]
And i will insert this data using a patch/post request. But after it i want to slice it(take out the user already used),
var item = JSON.parse(pm.collectionVariables.get("arrayOfArrayUsers"));
var itemLess = item.slice(1)
console.log("itemLess",itemLess);
pm.collectionVariables.set("arrayOfArrayUsers", itemLess);
but after it, the โโ from it goes always and its like this:
2,breanna,RH
So maybe iโm doing something wrong, or itโs losing its configuration somehow?