8000 fix: add password getter · formidablejs/formidablejs@f7ec751 · GitHub
[go: up one dir, main page]

Skip to content

Commit f7ec751

Browse files
committed
fix: add password getter
1 parent 1da4d82 commit f7ec751

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

database/factories/UserFactory.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
const { Factory, Hash } = require('@formidablejs/framework');
22

33
exports.UserFactory = class UserFactory extends Factory {
4-
constructor() {
5-
super();
6-
this.password = undefined;
7-
}
4+
get password() {
5+
return undefined;
6+
}
87

98
async definition() {
109
return {

0 commit comments

Comments
 (0)
0