Your IP : 216.73.216.220


Current Path : /home/deltalab/PMS/partner-manager-backend/rest/queries/
Upload File :
Current File : //home/deltalab/PMS/partner-manager-backend/rest/queries/attribute-set.js

const ims = require('../../services/ims');

async function readMany(storeName, channelId) {
  const attributeSets = await ims.getAttributeSets(storeName, channelId);
  return attributeSets;
}

async function readAttributeSetByName(storeName, name, channelId) {
  const attributeSet = await ims.readAttributeSetByName(storeName, name, channelId);
  return attributeSet;
}

module.exports = {
  readAttributeSetByName,
  readMany,
};