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:
Aleksei Voronov 2024-08-18 21:53:06 +02:00
parent 1871f39331
commit b7d4e8f73f
1 changed files with 1 additions and 1 deletions

View File

@ -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};