fixed issue
This commit is contained in:
parent
4a4813ae17
commit
e0377aeb00
@ -38,9 +38,9 @@ export async function getPostsWithBucketsAndProject(): Promise<ActionResult<GetP
|
||||
{association: Post.associations.project}],
|
||||
nest: false
|
||||
});
|
||||
return {result:JSON.parse(JSON.stringify(posts.map((e:Post)=>{
|
||||
return inspect(e)
|
||||
})))};
|
||||
return {result:posts.map((post:Post)=>{
|
||||
return JSON.parse(JSON.stringify(post))
|
||||
})};
|
||||
}
|
||||
|
||||
export async function getPosts(): Promise<ActionResult<Attributes<Post>[]>> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user