add billing period
This commit is contained in:
@@ -23,13 +23,15 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
|
||||
new_image = event.detail['new_image']
|
||||
order_id = new_image['id']
|
||||
org_id = new_image['tenant_id']
|
||||
# Post-migration: Uncomment the following line
|
||||
# org_id = new_image['org_id']
|
||||
|
||||
result = enrollment_layer.collection.query(
|
||||
KeyPair(
|
||||
# Post-migration: Uncomment the following line
|
||||
# f'SLOT#ORG#{org_id}',
|
||||
f'vacancies#{org_id}',
|
||||
order_id,
|
||||
pk=f'vacancies#{org_id}',
|
||||
sk=order_id,
|
||||
),
|
||||
limit=100,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user