Skip to content

Commit

Permalink
feat: add tokens router
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrelstan committed Feb 4, 2022
1 parent 41eab9f commit 26eb257
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import countriesRouter from './routers/countriesRouter';
import organizationsRouter from './routers/organizationsRouter';
import plantersRouter from './routers/plantersRouter';
import speciesRouter from './routers/speciesRouter';
import tokensRouter from './routers/tokensRouter';
import treesRouter from './routers/treesRouter';
import { errorHandler, handlerWrapper } from './routers/utils';
import walletsRouter from './routers/walletsRouter';
Expand Down Expand Up @@ -50,6 +51,7 @@ app.use('/planters', plantersRouter);
app.use('/organizations', organizationsRouter);
app.use('/species', speciesRouter);
app.use('/wallets', walletsRouter);
app.use('/tokens', tokensRouter);
// Global error handler
app.use(errorHandler);

Expand Down

0 comments on commit 26eb257

Please sign in to comment.