Skip to content

Commit

Permalink
Update src/backend/lambda/diary_create/diary_create.py
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
AsukaNamiki and github-actions[bot] authored Dec 29, 2024
1 parent ffe2f7f commit 500a65a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/backend/lambda/diary_create/diary_create.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ def load_random_image_from_s3(bucket_name, prefix):


def flower_wrap(flower_id):
if not flower_id:
raise ValueError("Invalid flower ID provided.")
...
"""
ランダムに選択した包装紙(front/back)で指定flower_idの花を包み、
base64エンコードした画像を返すPython関数。
Expand Down

0 comments on commit 500a65a

Please sign in to comment.