fix duplicate user
This commit is contained in:
@@ -30,7 +30,6 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
|
||||
key=KeyPair(
|
||||
pk=order_id,
|
||||
sk=f'ENROLLMENT#{enrollment_id}',
|
||||
table_name=ORDER_TABLE,
|
||||
),
|
||||
cond_expr='attribute_exists(sk) AND #status = :scheduled',
|
||||
update_expr='SET #status = :rollback, \
|
||||
|
||||
Reference in New Issue
Block a user