Closed komal-rs closed 5 months ago
Switch to new filter APIs using cursor mode. Here are the contracts:
type NsfwFilter = variant { IncludeNsfw; OnlyNsfw; ExcludeNsfw }; get_top_posts_aggregated_from_canisters_on_this_network_for_home_feed_cursor : ( nat64, nat64, opt bool, opt PostStatus, opt NsfwFilter, ) -> (Result) query; get_top_posts_aggregated_from_canisters_on_this_network_for_hot_or_not_feed_cursor : ( nat64, nat64, opt bool, opt PostStatus, opt NsfwFilter, ) -> (Result) query;
Can use either is_nsfw or NsfwFilter (values as enum above) . Preferably use NsfwFilter as is_nsfw will be deprecated later.
fixed by https://github.com/go-bazzinga/hot-or-not-web-leptos-ssr/pull/116
Switch to new filter APIs using cursor mode. Here are the contracts:
Can use either is_nsfw or NsfwFilter (values as enum above) . Preferably use NsfwFilter as is_nsfw will be deprecated later.