diff --git a/oada/libs/lib-arangodb/src/libs/putBodies.ts b/oada/libs/lib-arangodb/src/libs/putBodies.ts index 67562b83..9c73d45d 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 }; }