get user id from order

This commit is contained in:
2025-07-23 01:14:56 -03:00
parent edecbce356
commit 45a6038066
8 changed files with 22 additions and 16 deletions

View File

@@ -36,7 +36,15 @@ def update_policies(
}
| billing_policy
)
transact.put(
item={
'id': 'SUBSCRIPTION',
'sk': f'ORG#{id}',
'created_at': now_,
}
)
else:
transact.delete(key=KeyPair(id, billing_sk))
transact.delete(key=KeyPair('SUBSCRIPTION', f'ORG#{id}'))
return True