fix(backend): Decrypt img field when returning account
This commit is contained in:
parent
95c0ec05a4
commit
e020883cd2
1 changed files with 1 additions and 1 deletions
|
@ -578,7 +578,7 @@ UserModel.prototype.asAccount = function () {
|
|||
createdAt: this.record.createdAt,
|
||||
email: this.clear.email,
|
||||
github: this.clear.github,
|
||||
img: this.record.img,
|
||||
img: this.clear.img,
|
||||
imperial: this.record.imperial,
|
||||
initial: this.clear.initial,
|
||||
language: this.record.language,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue