Browse Source

:construction: Removed deleted routes from plugin registry

juan-filtering-match-pool
tomit4 2 years ago
parent
commit
d225deeb60
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      backend/lib/plugins/user.js

+ 0
- 4
backend/lib/plugins/user.js View File

@@ -7,9 +7,7 @@ const JwtStrategy = require('../auth/strategies/jwt')
7 7
 const UserModel = require('../models/user')
8 8
 const AuthModel = require('../models/authentication')
9 9
 
10
-const UserCurrentRoute = require('../routes/user/current')
11 10
 const UserProfileCreateRoute = require('../routes/user/create-profile')
12
-const UserProfilesListRoute = require('../routes/user/list-profiles')
13 11
 const UserLoginRoute = require('../routes/user/login')
14 12
 const UserSignupRoute = require('../routes/user/signup')
15 13
 const UserEmailRoute = require('../routes/user/send-email.js')
@@ -49,11 +47,9 @@ module.exports = {
49 47
         server.registerService(DisplayService)
50 48
         server.registerService(HealthService)
51 49
 
52
-        await server.route(UserCurrentRoute)
53 50
         await server.route(UserLoginRoute)
54 51
         await server.route(UserSignupRoute)
55 52
         await server.route(UserProfileCreateRoute)
56
-        await server.route(UserProfilesListRoute)
57 53
         await server.route(UserEmailRoute)
58 54
         await server.route(UserVerifyActiveRoute)
59 55
         await server.route(UserCreateTokenRoute)

Loading…
Cancel
Save