@waline/vercel 1.36.1 → 1.36.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waline/vercel",
3
- "version": "1.36.1",
3
+ "version": "1.36.2",
4
4
  "description": "vercel server for waline comment system",
5
5
  "keywords": [
6
6
  "waline",
@@ -97,7 +97,7 @@ module.exports = class extends think.Controller {
97
97
  avatar: user.avatar,
98
98
  [type]: user.id,
99
99
  passowrd: this.hashPassword(Math.random()),
100
- type: this.isEmpty(count) ? 'administrator' : 'guest',
100
+ type: think.isEmpty(count) ? 'administrator' : 'guest',
101
101
  };
102
102
 
103
103
  await this.modelInstance.add(data);