diff --git a/api/stately/apps-queries.ts b/api/stately/apps-queries.ts index 3f694a0..49bc578 100644 --- a/api/stately/apps-queries.ts +++ b/api/stately/apps-queries.ts @@ -92,7 +92,7 @@ export async function insertApp(app: ApiApp): Promise { resultApp = convertToApiApp(getResult); return; } - await txn.put(client.create('ApiApp', app)); + await txn.put(client.create('ApiApp', { ...app, partition: 1n })); }); if (resultApp) {