mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
move filter_scope to auth level, filter on apply action, rename constructors
This commit is contained in:
parent
089a91d5a2
commit
24adba9065
4 changed files with 31 additions and 29 deletions
|
|
@ -34,7 +34,7 @@ impl Identity {
|
|||
profile_identity_id: &Rc<i64>,
|
||||
) -> Result<Self, Error> {
|
||||
// Init components
|
||||
let auth = match Auth::new(connection) {
|
||||
let auth = match Auth::build(connection) {
|
||||
Ok(auth) => Rc::new(auth),
|
||||
Err(e) => return Err(Error::Auth(e)),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue