aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/user.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/models/user.ts')
-rw-r--r--server/models/user.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/user.ts b/server/models/user.ts
index 0fbfdda50..cd383a16a 100644
--- a/server/models/user.ts
+++ b/server/models/user.ts
@@ -135,7 +135,7 @@ isPasswordMatch = function (password: string, callback: UserMethods.IsPasswordMa
135 return comparePassword(password, this.password, callback) 135 return comparePassword(password, this.password, callback)
136} 136}
137 137
138toFormatedJSON = function () { 138toFormatedJSON = function (this: UserInstance) {
139 return { 139 return {
140 id: this.id, 140 id: this.id,
141 username: this.username, 141 username: this.username,