Skip to content

Commit

Permalink
fix: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kpoke committed Nov 7, 2022
1 parent 7a77e9b commit 3b2fb73
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions server/repositories/Legacy/PlanterRepository.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ class LegacyPlanterRepository extends BaseRepository {
this._tableName = 'planter';
this._session = session;
}

async findUser(planter_identifier) {
return this._session
.getDB()
.select()
.table(this._tableName)
.where({ phone: planter_identifier })
.orWhere({ email: planter_identifier })
.first();
}
}

module.exports = LegacyPlanterRepository;

0 comments on commit 3b2fb73

Please sign in to comment.