fix find_partial
This commit is contained in:
parent
0acc799174
commit
280f3cf3a0
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ pub trait Model:
|
|||
filter: mongodb::bson::Document,
|
||||
mut part: serde_json::Value,
|
||||
limit: Option<i64>,
|
||||
) -> impl std::future::Future<Output = Option<Vec<Self>>> {
|
||||
) -> impl std::future::Future<Output = Option<Vec<Self::Partial>>> {
|
||||
async move {
|
||||
let db = get_mongo!();
|
||||
let collection = col!(db, Self::collection_name());
|
||||
|
|
Loading…
Reference in a new issue