From 9b2d741bd74101ee63702012b23f2cc29a393e8d Mon Sep 17 00:00:00 2001 From: Bastian Klein Date: Mon, 7 Jun 2021 11:14:05 +0200 Subject: [PATCH] [Issue-45] Fix like mechanism --- workshop-1/README.md | 1 + .../app/monolith-service/service/mythicalMysfitsService.py | 1 + 2 files changed, 2 insertions(+) diff --git a/workshop-1/README.md b/workshop-1/README.md index e76a96e..f3d7a99 100644 --- a/workshop-1/README.md +++ b/workshop-1/README.md @@ -642,6 +642,7 @@ As with the monolith, you'll be using [Fargate](https://aws.amazon.com/fargate/) # @app.route("/mysfits//fulfill-like", methods=['POST']) # def fulfillLikeMysfit(mysfit_id): # serviceResponse = mysfitsTableClient.likeMysfit(mysfit_id) + # process_like_request() # flaskResponse = Response(serviceResponse) # flaskResponse.headers["Content-Type"] = "application/json" # return flaskResponse diff --git a/workshop-1/app/monolith-service/service/mythicalMysfitsService.py b/workshop-1/app/monolith-service/service/mythicalMysfitsService.py index 2d67c31..5d330f1 100644 --- a/workshop-1/app/monolith-service/service/mythicalMysfitsService.py +++ b/workshop-1/app/monolith-service/service/mythicalMysfitsService.py @@ -62,6 +62,7 @@ def likeMysfit(mysfit_id): # @app.route("/mysfits//fulfill-like", methods=['POST']) # def fulfillLikeMysfit(mysfit_id): # serviceResponse = mysfitsTableClient.likeMysfit(mysfit_id) +# process_like_request() # flaskResponse = Response(serviceResponse) # flaskResponse.headers["Content-Type"] = "application/json" # return flaskResponse