Rewrite getRouteDescriptions, fix message route not appearing in openapi spec
This commit is contained in:
@@ -23,7 +23,7 @@ import { IsNull, LessThan } from "typeorm";
|
||||
const router = Router();
|
||||
|
||||
//Returns all inactive members, respecting role hierarchy
|
||||
export const inactiveMembers = async (
|
||||
const inactiveMembers = async (
|
||||
guild_id: string,
|
||||
user_id: string,
|
||||
days: number,
|
||||
|
||||
@@ -105,7 +105,7 @@ router.post(
|
||||
},
|
||||
);
|
||||
|
||||
export function getStickerFormat(mime_type: string) {
|
||||
function getStickerFormat(mime_type: string) {
|
||||
switch (mime_type) {
|
||||
case "image/apng":
|
||||
return StickerFormatType.APNG;
|
||||
|
||||
Reference in New Issue
Block a user