Skip to content

Commit

Permalink
fix: deprecation warning message for BaseHandler event target (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamagalhaes authored Jan 2, 2025
1 parent d571ce5 commit f20a790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion canvas_sdk/handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def context(self) -> dict[str, Any]:
deprecated_in="0.11.0",
removed_in="1.0.0",
current_version=version,
details="Use 'event.target['id']' directly instead",
details="Use 'event.target.id' directly instead",
)
def target(self) -> str:
"""The target id of the event."""
Expand Down

0 comments on commit f20a790

Please sign in to comment.