Always returning null for profile details when no profile was found, not undefined. Prevents YAML index write from failing.
This commit is contained in:
parent
7711979199
commit
a817a07250
|
@ -41,6 +41,8 @@ async function saveProfileImage(user, args) {
|
|||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
async function saveProfileDescription(user, args) {
|
||||
|
@ -70,6 +72,8 @@ async function saveProfileDescription(user, args) {
|
|||
|
||||
return null;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
async function saveProfileDetails(user, args) {
|
||||
|
|
Loading…
Reference in New Issue