File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/handlers/me/comments/likes/create Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -744,7 +744,7 @@ Resources:
744744 items :
745745 type : ' string'
746746 enum :
747- - " comment_id01 "
747+ - " comment_id "
748748 security :
749749 - cognitoUserPool : []
750750 x-amazon-apigateway-integration :
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ def validate_params(self):
2828 def exec_main_proc (self ):
2929 user_id = self .event ['requestContext' ]['authorizer' ]['claims' ]['cognito:username' ]
3030
31- comment_liked_user_table = self .dynamodb .Table (os .environ ['COMMENT_TABLE_NAME' ])
32- comment = comment_liked_user_table .get_item (Key = {'comment_id' : self .params ['comment_id' ]}).get ('Item' )
31+ comment_table = self .dynamodb .Table (os .environ ['COMMENT_TABLE_NAME' ])
32+ comment = comment_table .get_item (Key = {'comment_id' : self .params ['comment_id' ]}).get ('Item' )
3333
3434 comment_liked_user_table = self .dynamodb .Table (os .environ ['COMMENT_LIKED_USER_TABLE_NAME' ])
3535 comment_liked_user = {
You can’t perform that action at this time.
0 commit comments