update events
This commit is contained in:
@@ -47,10 +47,10 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
|
||||
transact.update(
|
||||
key=KeyPair(new_image['id'], '0'),
|
||||
update_expr='SET metadata__konviva_user_id = :user_id, \
|
||||
updated_at = :updated_at',
|
||||
updated_at = :now',
|
||||
expr_attr_values={
|
||||
':user_id': user_id,
|
||||
':updated_at': now_,
|
||||
':now': now_,
|
||||
},
|
||||
cond_expr='attribute_exists(sk)',
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user