Revert "Add publishing date (#107)" (#108)

This commit is contained in:
Anders Gustafsson
2022-03-11 09:19:07 +01:00
committed by GitHub
parent cf6b1fd56e
commit b1da0b547e
8 changed files with 4051 additions and 4166 deletions
-18
View File
@@ -476,22 +476,4 @@ export const productMutationTypeDefs = {
value: 'OK',
};
},
/**
* @function massUpdatePublishing
* @description Mutate the Publishing for products
*/
async massUpdatePublishingDate(
_,
{ productIds, date },
{ dataSources, auth },
) {
checkAccess(['products.write'], auth);
await (<ProductAPI>dataSources.productApi).massUpdatePublishingDate(
productIds,
date,
);
return {
value: 'OK',
};
},
};