Skip to content

Commit 3b2fb73

Browse files
committed
fix: remove unused code
1 parent 7a77e9b commit 3b2fb73

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

server/repositories/Legacy/PlanterRepository.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,6 @@ class LegacyPlanterRepository extends BaseRepository {
66
this._tableName = 'planter';
77
this._session = session;
88
}
9-
10-
async findUser(planter_identifier) {
11-
return this._session
12-
.getDB()
13-
.select()
14-
.table(this._tableName)
15-
.where({ phone: planter_identifier })
16-
.orWhere({ email: planter_identifier })
17-
.first();
18-
}
199
}
2010

2111
module.exports = LegacyPlanterRepository;

0 commit comments

Comments
 (0)