update
This commit is contained in:
@@ -48,8 +48,7 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
|
||||
with order_layer.transact_writer() as transact:
|
||||
transact.update(
|
||||
key=KeyPair(new_image['id'], '0'),
|
||||
update_expr='SET tenant = :tenant_id, \
|
||||
updated_at = :updated_at',
|
||||
update_expr='SET tenant_id = :tenant_id, updated_at = :updated_at',
|
||||
expr_attr_values={
|
||||
':tenant_id': ids['org_id'],
|
||||
':updated_at': now_,
|
||||
|
||||
Reference in New Issue
Block a user