1
0
Fork 0

fix(backend): Also split calls in output

This commit is contained in:
joostdecock 2023-08-13 10:42:46 +02:00
parent 571ccf1413
commit 5a44e2acce

View file

@ -1089,7 +1089,6 @@ UserModel.prototype.asAccount = function () {
return { return {
id: this.record.id, id: this.record.id,
bio: this.clear.bio, bio: this.clear.bio,
calls: this.record.calls,
compare: this.record.compare, compare: this.record.compare,
consent: this.record.consent, consent: this.record.consent,
control: this.record.control, control: this.record.control,
@ -1100,6 +1099,8 @@ UserModel.prototype.asAccount = function () {
img: this.clear.img, img: this.clear.img,
imperial: this.record.imperial, imperial: this.record.imperial,
initial: this.clear.initial, initial: this.clear.initial,
jwtCalls: this.record.jwtCalls,
keyCalls: this.record.keyCalls,
language: this.record.language, language: this.record.language,
lastSeen: this.record.lastSeen, lastSeen: this.record.lastSeen,
mfaEnabled: this.record.mfaEnabled, mfaEnabled: this.record.mfaEnabled,