mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-13 21:02:08 +08:00
fix(user): send profileUI for locked user
This commit is contained in:
parent
6b8061fa9a
commit
336776ccf6
@ -871,6 +871,7 @@ module.exports = function(User) {
|
||||
if (isLocked) {
|
||||
return {
|
||||
isLocked,
|
||||
profileUI,
|
||||
username
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user