From e0377aeb00b3c14843ac6eee2027bcc431b49bd1 Mon Sep 17 00:00:00 2001 From: Andreas Date: Thu, 18 Jul 2024 15:48:05 +0200 Subject: [PATCH] fixed issue --- src/app/lib/actions/entityManagement/post/postActions.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/lib/actions/entityManagement/post/postActions.ts b/src/app/lib/actions/entityManagement/post/postActions.ts index 772750c..70383c8 100644 --- a/src/app/lib/actions/entityManagement/post/postActions.ts +++ b/src/app/lib/actions/entityManagement/post/postActions.ts @@ -38,9 +38,9 @@ export async function getPostsWithBucketsAndProject(): Promise{ - return inspect(e) - })))}; + return {result:posts.map((post:Post)=>{ + return JSON.parse(JSON.stringify(post)) + })}; } export async function getPosts(): Promise[]>> {