diff options
| author | Andrew Lee <andrew@alee14.me> | 2025-03-29 22:19:55 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2025-03-29 22:19:55 -0400 |
| commit | 070825d2b779b114a1c345fbca210d324bf34d53 (patch) | |
| tree | 1a62f7676bc46b8bc799e8b4b486fa0ea2879f6f /bot/src/api/server.js | |
| parent | db6df8c2a3817a753a9b903feb6311c620a91a65 (diff) | |
| download | AleeBot-070825d2b779b114a1c345fbca210d324bf34d53.tar.gz AleeBot-070825d2b779b114a1c345fbca210d324bf34d53.tar.bz2 AleeBot-070825d2b779b114a1c345fbca210d324bf34d53.zip | |
Quote submit stats + input validation for author/year; API changes; Use toString for some stuff
Diffstat (limited to 'bot/src/api/server.js')
| -rw-r--r-- | bot/src/api/server.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/src/api/server.js b/bot/src/api/server.js index 379f410..53b29d4 100644 --- a/bot/src/api/server.js +++ b/bot/src/api/server.js @@ -14,7 +14,7 @@ export const apiServer = (client) => { app.use(cors()); // Allow cross-origin requests app.use(express.json()); - app.use('/api', quoteRouter); + app.use('/api', quoteRouter(client)); app.use('/api', settingsRouter(client)); app.use('/api', authRouter()); |
