diff --git a/src/resolvers/products-resolver.ts b/src/resolvers/products-resolver.ts index 60db56d..8c13f2f 100644 --- a/src/resolvers/products-resolver.ts +++ b/src/resolvers/products-resolver.ts @@ -583,6 +583,7 @@ export const productMutationTypeDefs = { productId, categoryIds, ); + await sendProductUpdatedEvent([productId], ['categories']); return (dataSources.productApi).getProduct(productId); }, @@ -599,6 +600,7 @@ export const productMutationTypeDefs = { productId, categoryIds, ); + await sendProductUpdatedEvent([productId], ['categories']); return (dataSources.productApi).getProduct(productId); },