Skip to content

Commit

Permalink
fixup VariablesModal creation of plain text field
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Sep 30, 2024
1 parent a0caea8 commit c02003b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templatebot/storage/slack/variablesmodal.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def _generate_text_input(
creation modal.
"""
return SlackInputBlock(
label=field["label"],
label=SlackPlainTextObject(text=field["label"]),
block_id=field["key"], # TODO(jonathansick): have a common prefix?
element=SlackPlainTextInputElement(
action_id=field["key"],
Expand Down

0 comments on commit c02003b

Please sign in to comment.