(post: Post)
| 38 | } |
| 39 | |
| 40 | export async function getPost(post: Post) { |
| 41 | return buildPostRo(post); |
| 42 | } |
| 43 | |
| 44 | export async function updatePost(post: Post, payload: PostUpdateDto) { |
| 45 | const updatedPost = await db.post.update({ |
nothing calls this directly
no test coverage detected