diff options
Diffstat (limited to 'server/models/user.ts')
-rw-r--r-- | server/models/user.ts | 2 |
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 | ||
138 | toFormatedJSON = function () { | 138 | toFormatedJSON = function (this: UserInstance) { |
139 | return { | 139 | return { |
140 | id: this.id, | 140 | id: this.id, |
141 | username: this.username, | 141 | username: this.username, |