47: refactor interiors mutation to handle uri (#48)
* 47: refactor interiors mutation to handle uri * removed log
This commit is contained in:
@@ -125,13 +125,13 @@ export const productMutationTypeDefs = {
|
||||
},
|
||||
async productGroupInteriors(
|
||||
_,
|
||||
{ productId, groupId, roomNames },
|
||||
{ productId, groupId, uris },
|
||||
{ dataSources },
|
||||
) {
|
||||
await (<ProductAPI>dataSources.productApi).addInteriorsToProductGroup(
|
||||
productId,
|
||||
groupId,
|
||||
roomNames,
|
||||
uris,
|
||||
);
|
||||
return (<ProductAPI>dataSources.productApi).getProduct(productId);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user