Skip to content

Commit

Permalink
feat: returning the created thread item for smooth UX
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonNotJson committed Sep 11, 2023
1 parent d682ed7 commit 6a95577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lambda/post-thread/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def post_thread(board_id, thread, uid):
table.put_item(Item=thread_item)

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


Expand Down

0 comments on commit 6a95577

Please sign in to comment.