postman-collection
postman-collection copied to clipboard
Update variable description on upsert
const list = new VariableList(null, [{
key: 'k1',
value: 'initial',
description: 'initial description'
}]);
list.upsert({
key: 'k1',
value: 'updated',
description: 'updated description'
});
list.toJSON();
// [{
// description: {
// content: 'initial description',
// type: 'text/plain'
// },
// type: 'any',
// value: 'updated',
// key: 'k1'
// }]
@codenirvana I could find this bug still reproducible. Can I take up this one?
@csk1827 Sure 👍
Fixed by #1332