1
0
Fork 0

fix(backend): Decrypt img field when returning account

This commit is contained in:
joostdecock 2023-01-27 19:03:41 +01:00
parent 95c0ec05a4
commit e020883cd2

View file

@ -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,