feat: Add ability to remove team logo/profile picture

This commit is contained in:
Tom Moor
2024-06-08 13:17:42 -04:00
parent c02f7c9c85
commit 30a5c8ea8b
5 changed files with 25 additions and 17 deletions

View File

@@ -212,7 +212,7 @@ router.post(
if (name) {
user.name = name;
}
if (avatarUrl) {
if (avatarUrl !== undefined) {
user.avatarUrl = avatarUrl;
}
if (language) {