Skip to content

Commit

Permalink
fix(notifs): pass webcast as string
Browse files Browse the repository at this point in the history
  • Loading branch information
ItsCalebJones committed Sep 28, 2024
1 parent d3ea5a9 commit ff547b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bot/app/notifications/notification_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def send_v3_notification(self, launch: Launch, notification_type: str, contents:
"launch_image": image,
"launch_net": launch.net.strftime("%B %d, %Y %H:%M:%S %Z"),
"launch_location": launch.pad.location.name,
"webcast": webcast,
"webcast": str(webcast),
}

all_result = self.send_notif_v3(
Expand Down Expand Up @@ -411,7 +411,7 @@ def get_json_data(self, pending):
"location": event.location,
"news_url": event.info_urls.first(),
"video_url": event.vid_urls.first(),
"webcast_live": event.webcast_live,
"webcast_live": str(event.webcast_live),
"feature_image": feature_image,
},
}
Expand Down

0 comments on commit ff547b2

Please sign in to comment.