Skip to content

Commit

Permalink
feat(channels): Validate access token before posting text status
Browse files Browse the repository at this point in the history
  • Loading branch information
elisa-a-v committed Nov 8, 2024
1 parent de73491 commit c73ba9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bc/channel/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def enqueue_text_status_for_channel(channel: Channel, text: str) -> None:
channel (Channel): The channel object.
text (str): Message for the new status.
"""
channel.validate_access_token()
api = channel.get_api_wrapper()
queue.enqueue(
api.add_status,
Expand Down

0 comments on commit c73ba9d

Please sign in to comment.