From 2327eed7e25877173fa52365c4459b24abe2fcf1 Mon Sep 17 00:00:00 2001 From: john Date: Sun, 18 May 2025 14:01:37 +0200 Subject: [PATCH] fix type error --- src/app/feed/posts/posts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/feed/posts/posts.ts b/src/app/feed/posts/posts.ts index 6547e3a..77d0a5f 100644 --- a/src/app/feed/posts/posts.ts +++ b/src/app/feed/posts/posts.ts @@ -22,7 +22,7 @@ export class Post { this.authorName = authorName } - public static fromDto(dto: components['schemas']['PublicPostDto']): Post { + public static fromDto(dto: components['schemas']['PostDto']): Post { return new Post( dto.postId, dto.content,