Always returning null for profile details when no profile was found, not undefined. Prevents YAML index write from failing.

This commit is contained in:
ThePendulum 2018-07-07 23:45:23 +02:00
parent e029fddad3
commit 3abc6bb389
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,8 @@ async function saveProfileImage(user, args) {
return null; return null;
} }
} }
return null;
} }
async function saveProfileDescription(user, args) { async function saveProfileDescription(user, args) {
@ -70,6 +72,8 @@ async function saveProfileDescription(user, args) {
return null; return null;
} }
return null;
} }
async function saveProfileDetails(user, args) { async function saveProfileDetails(user, args) {