Skip to content

Commit

Permalink
chore: fix sync imgs5
Browse files Browse the repository at this point in the history
  • Loading branch information
LIEN-YUHSIANG committed Oct 12, 2023
1 parent 9dcdd7c commit 45ec744
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lambda/sync-image/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ def handler(event, context):
# Get event payload and get imgs information
key = event['Records'][0]['s3']['object']['key']
print(key) # Try out the code
board_id, ads_id = key.split('/')
print(board_id, ads_id)

return post_imgskey(key)

0 comments on commit 45ec744

Please sign in to comment.