diff --git a/src/lambda/patch-thread/index.py b/src/lambda/patch-thread/index.py index 2a78a952b..a46fb219f 100644 --- a/src/lambda/patch-thread/index.py +++ b/src/lambda/patch-thread/index.py @@ -83,9 +83,9 @@ def patch_thread(board_id, uid, thread_id, thread, action): "thread_id": thread_id, }, UpdateExpression='DELETE likes :uid', - ConditionExpression='attribute_exists(likes) AND contains(likes, :uid)', + # ConditionExpression='attribute_exists(likes) AND contains(likes, :uid)', ExpressionAttributeValues={ - ':uid': [uid] + ':uid': {uid} }, ) except Exception as e: