Skip to content

Commit

Permalink
πŸ› 채널 이미지가 없을 λ•Œ μ•Œλ¦Ό 등둝이 μ•ˆλ˜λ˜ 문제 μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
junah201 committed Jan 12, 2024
1 parent 99acd35 commit 778463f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lambdas/event_handler/events/add_notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def handler(event, context):
'lastLiveTitle': {'S': chzzk.liveTitle},
'channelId': {'S': chzzk.channel.channelId},
'channelName': {'S': chzzk.channel.channelName},
'channelImageUrl': {'S': chzzk.channel.channelImageUrl},
'channelImageUrl': {'S': chzzk.channel.channelImageUrl or ""},
"type": {"S": "CHZZK"}
}
)
Expand Down
2 changes: 1 addition & 1 deletion lambdas/live_check/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def middleware(event, context):
}
],
"image": {
"url": (chzzk.liveImageUrl or chzzk.channel.channelImageUrl).replace("_{type}", "_1080"),
"url": (chzzk.liveImageUrl or chzzk.channel.channelImageUrl or "").replace("_{type}", "_1080"),
},
"author": {
"name": f"{chzzk.channel.channelName}",
Expand Down

0 comments on commit 778463f

Please sign in to comment.