fix typos

This commit is contained in:
Madeline 2023-04-14 22:26:11 +10:00
parent 029bc8b5f8
commit 4ecee6b291
No known key found for this signature in database
GPG Key ID: 1958E017C36F2E47
3 changed files with 5 additions and 3 deletions

View File

@ -39,7 +39,7 @@ router.get(
route({ route({
responses: { responses: {
"200": { "200": {
body: "GuildWithJoinedAt", body: "APIGuildWithJoinedAt",
}, },
401: { 401: {
body: "APIErrorResponse", body: "APIErrorResponse",

View File

@ -36,7 +36,7 @@ router.get(
route({ route({
responses: { responses: {
200: { 200: {
body: "GuildTemplate", body: "Template",
}, },
403: { 403: {
body: "APIErrorResponse", body: "APIErrorResponse",

View File

@ -69,7 +69,9 @@ export type APIEmojiArray = Emoji[];
export type APIMemberArray = Member[]; export type APIMemberArray = Member[];
export type GuildWithJoinedAt = Guild & { joined_at: string }; export interface APIGuildWithJoinedAt extends Guild {
joined_at: string;
}
export type APIRoleArray = Role[]; export type APIRoleArray = Role[];