Skip to content

Commit 92982cd

Browse files
committed
fix: unwrap feedback button object text value
1 parent 49229e1 commit 92982cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

slack_sdk/models/blocks/basic_components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ def to_dict(self) -> Dict[str, Any]:
575575
self.validate_json()
576576
json = {}
577577
if self._text:
578-
json["text"] = self._text
578+
json["text"] = self._text.text
579579
if self._accessibility_label:
580580
json["accessibility_label"] = self._accessibility_label
581581
if self._value:

0 commit comments

Comments
 (0)