From ebc6d81977b6b6dda4732df337ed932ed86d844b Mon Sep 17 00:00:00 2001 From: Alex Layton Date: Thu, 12 Dec 2024 16:29:28 -0500 Subject: [PATCH] fix: JSON typo --- oada/libs/lib-arangodb/src/libs/putBodies.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oada/libs/lib-arangodb/src/libs/putBodies.ts b/oada/libs/lib-arangodb/src/libs/putBodies.ts index 3462a92e..67562b83 100644 --- a/oada/libs/lib-arangodb/src/libs/putBodies.ts +++ b/oada/libs/lib-arangodb/src/libs/putBodies.ts @@ -27,7 +27,7 @@ const collection = database.collection<{body: unknown}>( */ export async function savePutBody(body: string): Promise<{ _id: string }> { // @ts-expect-error HACK: send body without parsing it - const { _id } = await collection.save(`body:${body}`); + const { _id } = await collection.save(`"body":${body}`); return { _id }; }