diff options
Diffstat (limited to 'server/src/api/post.rs')
-rw-r--r-- | server/src/api/post.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/api/post.rs b/server/src/api/post.rs index d53d2064..5df42990 100644 --- a/server/src/api/post.rs +++ b/server/src/api/post.rs @@ -235,7 +235,7 @@ impl Perform<GetPostsResponse> for Oper<GetPosts> { None => false, }; - let type_ = PostListingType::from_str(&data.type_)?; + let type_ = ListingType::from_str(&data.type_)?; let sort = SortType::from_str(&data.sort)?; let posts = match PostView::list( |