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

This commit is contained in:
DebaucheryLibrarian 2024-09-11 05:16:57 +02:00
parent 7711979199
commit a817a07250
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) {