Use correct type for query params in `getFeedSkeleton` endpoint
Using `Parameters` causes it not to deserialize the `limit` parameter correctly, leading to 400 errors if it is specified at all. `ParametersData` is the one we need.
This commit is contained in:
parent
1871f39331
commit
b7d4e8f73f
|
@ -3,7 +3,7 @@ use std::sync::Arc;
|
||||||
use anyhow::anyhow;
|
use anyhow::anyhow;
|
||||||
use atrium_api::app::bsky::feed::defs::SkeletonFeedPostData;
|
use atrium_api::app::bsky::feed::defs::SkeletonFeedPostData;
|
||||||
use atrium_api::app::bsky::feed::get_feed_skeleton::{
|
use atrium_api::app::bsky::feed::get_feed_skeleton::{
|
||||||
OutputData as FeedSkeleton, Parameters as FeedSkeletonQuery,
|
OutputData as FeedSkeleton, ParametersData as FeedSkeletonQuery,
|
||||||
};
|
};
|
||||||
use atrium_api::types::{LimitedNonZeroU8, Object};
|
use atrium_api::types::{LimitedNonZeroU8, Object};
|
||||||
use axum::extract::{Query, State};
|
use axum::extract::{Query, State};
|
||||||
|
|
Loading…
Reference in New Issue