Skip to content

Commit

Permalink
Merge pull request #139 from Clariteia/issue-127-update-product
Browse files Browse the repository at this point in the history
#127 (update `product` microservice)
  • Loading branch information
Sergio García Prado authored Jul 29, 2021
2 parents 23100ff + 709ceb3 commit 7fddc3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion microservices/product/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions microservices/product/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ packages = [{ include = "src" }]

[tool.poetry.dependencies]
python = "^3.9"
minos-microservice-common = "^0.1.7"
minos-microservice-networks = ">=0.0.11<0.1"
minos-microservice-saga = ">=0.0.9<0.1"
minos-microservice-cqrs = ">=0.0.1<0.1"
Expand Down
2 changes: 1 addition & 1 deletion microservices/product/src/queries/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_most_sold_products(self, request: Request) -> Response:
"""

@staticmethod
@enroute.broker.event("ProductAdded")
@enroute.broker.event("ProductCreated")
async def product_created(request: Request) -> NoReturn:
"""Handle the product create events.
Expand Down

0 comments on commit 7fddc3f

Please sign in to comment.