Skip to content

Commit

Permalink
feat: refinesyncimgs3 (#347)
Browse files Browse the repository at this point in the history
* chore: fix sync imgs

* chore: fix sync imgs2

* chore: fix sync imgs3

* chore: fix sync imgs5
  • Loading branch information
LIEN-YUHSIANG authored Oct 12, 2023
1 parent a614942 commit 7b34f88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lambda/sync-image/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,8 @@ 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 7b34f88

Please sign in to comment.