Updated import and export commands to work better
This commit is contained in:
@ -96,7 +96,7 @@ impl Entity {
|
||||
.filter(Column::UserId.eq(user_id))
|
||||
.stream(db)
|
||||
.await?;
|
||||
Ok(result.map_err(Into::into))
|
||||
Ok(result.err_into())
|
||||
}
|
||||
|
||||
/// Gets a list of account names of a user
|
||||
@ -113,7 +113,7 @@ impl Entity {
|
||||
select = select.order_by_asc(Column::Name);
|
||||
}
|
||||
let result = select.into_tuple().stream(db).await?;
|
||||
Ok(result.map_err(Into::into))
|
||||
Ok(result.err_into())
|
||||
}
|
||||
|
||||
pub async fn exists(
|
||||
|
Reference in New Issue
Block a user