bug fixed
This commit is contained in:
parent
f9e6c208ce
commit
2aea4f1a16
|
@ -207,7 +207,18 @@ impl Service<'_> {
|
||||||
})
|
})
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
let parent_member_id = match request.referrer_member_username {
|
let referrer_member_username = match &request.referrer_member_username {
|
||||||
|
Some(d) => {
|
||||||
|
if d.trim().is_empty() {
|
||||||
|
None
|
||||||
|
} else {
|
||||||
|
Some(d.clone())
|
||||||
|
}
|
||||||
|
},
|
||||||
|
None => None,
|
||||||
|
};
|
||||||
|
|
||||||
|
let parent_member_id = match referrer_member_username {
|
||||||
Some(referrer_member_username) => {
|
Some(referrer_member_username) => {
|
||||||
match self
|
match self
|
||||||
.member_repository
|
.member_repository
|
||||||
|
|
Loading…
Reference in New Issue
Block a user