Skip to content

Commit

Permalink
feat: remove legacy ground_user API endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
ZavenArra committed Mar 2, 2022
1 parent 642b121 commit a1f74f8
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 377 deletions.
32 changes: 0 additions & 32 deletions server/handlers/groundUserHandler.js

This file was deleted.

23 changes: 0 additions & 23 deletions server/infra/repositories/GroundUserRepository.js

This file was deleted.

68 changes: 0 additions & 68 deletions server/infra/repositories/GroundUserRepository.spec.js

This file was deleted.

80 changes: 0 additions & 80 deletions server/models/GroundUser.js

This file was deleted.

168 changes: 0 additions & 168 deletions server/models/GroundUser.spec.js

This file was deleted.

6 changes: 0 additions & 6 deletions server/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ const {
tagHandlerSingleGet,
tagHandlerPatch,
} = require('./handlers/tagHandler');
const { groundUserHandlerGet } = require('./handlers/groundUserHandler');

router
.route('/trees')
Expand All @@ -68,11 +67,6 @@ router
.patch(validateRequest, handlerWrapper(treeHandlerSingleTagPatch))
.delete(validateRequest, handlerWrapper(treeHandlerSingleTagDelete));

// Legacy Planters Table
router
.route('/ground_users')
.get(validateRequest, handlerWrapper(groundUserHandlerGet));

router
.route('/grower_accounts')
.get(validateRequest, handlerWrapper(growerAccountHandlerGet))
Expand Down

0 comments on commit a1f74f8

Please sign in to comment.