Skip to content

Commit

Permalink
fix: fixing error for get thread (#271)
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonNotJson authored Mar 18, 2023
1 parent 54eb49b commit b0abdf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lambda/get-single-thread/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def get_single_thread(board_id, ts, thread_id, uid):

results = table.query(KeyConditionExpression=Key(
"board_id").eq(board_id),
ConditionExpression=Attr('thread_id').eq(thread_id))["Items"]
FilterExpression=Attr('thread_id').eq(thread_id))["Items"]
if not results:
raise LookupError

Expand Down

0 comments on commit b0abdf9

Please sign in to comment.