Parent Directory
|
Revision Log
chore: add old version archive branches (2.x to 9.x-dev)
1 | import { Request, Response } from "express"; |
2 | import DiscordClient from "../../client/Client"; |
3 | import auth from "../Auth"; |
4 | import guildAuth from "../GuildAuth"; |
5 | import { Route } from "../Router"; |
6 | |
7 | export default <Route> { |
8 | path: '/config/:guild', |
9 | middleware: [guildAuth], |
10 | get(req: Request, res: Response) { |
11 | res.json(DiscordClient.client.config.props[req.params.guild]); |
12 | } |
13 | }; |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |