Node.js based forum software built for the modern web
feat: add missing name to profile image upload
Barış Soner Uşaklı54b497258f35
diff --git a/src/user/picture.js b/src/user/picture.jsindex b1ae0f72e2..c7694a47d4 100644--- a/src/user/picture.js+++ b/src/user/picture.js@@ -97,6 +97,7 @@ module.exports = function (User) {const uploadedImage = await image.uploadImage(filename, 'profile', {uid: data.uid,path: newPath,+ name: 'profileAvatar',});await User.setUserFields(data.uid, {