Skip to content

Commit f6294bb

Browse files
authored
Merge pull request #10 from leachcoding/jay-leach
Fixed server removed authentication for now
2 parents a1c45f8 + f9097c5 commit f6294bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/server.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ server.get('/', (req, res) => {
2222

2323
server.use('/api/auth', authRouter); // For the trainer
2424

25-
server.use('/api/berries', authenticate, berryRouter); // For the berries
25+
server.use('/api/berries', berryRouter); // For the berries
2626
server.use('/api/items', itemRouter); // For the items
27-
// server.use('/api/machines', authenticate, machineRouter); // For the machines
28-
// server.use('/api/pokemon', authenticate, pokemonRouter); // For the pokemon
27+
// server.use('/api/machines', machineRouter); // For the machines
28+
// server.use('/api/pokemon', pokemonRouter); // For the pokemon
2929

3030
module.exports = server;

0 commit comments

Comments
 (0)