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
e029fddad3
commit
3abc6bb389
|
@ -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