(feat) spendLogs table DynamoDB

This commit is contained in:
ishaan-jaff 2024-01-18 12:39:11 -08:00
parent 4eb9221121
commit 5b54bcc712
2 changed files with 23 additions and 1 deletions

View file

@ -658,6 +658,9 @@ async def update_database(
if prisma_client is not None:
await prisma_client.insert_data(data=payload, table_name="spend")
elif custom_db_client is not None:
await custom_db_client.insert_data(payload, table_name="spend")
tasks = []
tasks.append(_update_user_db())
tasks.append(_update_key_db())