I need to pull custom field data, but only if CustomField=true.
Â
This is not working and I am sure it is a simple fix.
Â
Line 20.
Â
return z.request(options).then((response) => {
 response.throwForStatus();
 const results = response.json;
 const col = resultse"DatabaseColumns"].map((item) => {
  return {
   ...item,
   id: itemÂ"ColumnName"],
   if 'IsCustom': true,
  };
 });