fix(guild): use guild id for members endpoint
This commit is contained in:
parent
4af6e7e8d0
commit
c251b8de27
5 changed files with 21 additions and 8 deletions
|
|
@ -151,7 +151,7 @@ export class Armory {
|
|||
|
||||
const guildsController = new GuildController(this);
|
||||
app.get("/guild/:realm/:name", this.wrapRoute(guildsController.guild.bind(guildsController)));
|
||||
app.get("/guild/:realm/:name/members", this.wrapRoute(guildsController.members.bind(guildsController)));
|
||||
app.get("/guild/:realm/:guild/members", this.wrapRoute(guildsController.members.bind(guildsController)));
|
||||
|
||||
app.use((err, req: express.Request, res: express.Response, next: express.NextFunction) => {
|
||||
// Error handler
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue