Skip to content

Commit

Permalink
feat: popping uid for secruity measures
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonNotJson committed Sep 11, 2023
1 parent 6a95577 commit 6b0e0e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lambda/post-thread/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ def post_thread(board_id, thread, uid):

table.put_item(Item=thread_item)

thread_item.pop('uid', None)

body = JsonPayloadBuilder().add_status(
True).add_data(thread_item).add_message('').compile()
return body
Expand Down

0 comments on commit 6b0e0e3

Please sign in to comment.