mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: Settings page picture url fix (#55673)
This commit is contained in:
@@ -494,7 +494,7 @@ ${isLinkSentWithinLimitTTL}`
|
||||
about: req.body.about,
|
||||
name: req.body.name,
|
||||
location: req.body.location,
|
||||
...(hasProtocol && { picture: req.body.picture })
|
||||
picture: hasProtocol ? req.body.picture : ''
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user