From 5c0a6f4e55fcf798a3ba28977086401af6f94eda Mon Sep 17 00:00:00 2001 From: Puyodead1 Date: Fri, 24 Mar 2023 21:30:23 -0400 Subject: oapi: fix guild discovery requirements --- src/api/routes/guilds/#guild_id/discovery-requirements.ts | 2 +- src/util/schemas/responses/GuildDiscoveryRequirements.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/api/routes/guilds/#guild_id/discovery-requirements.ts b/src/api/routes/guilds/#guild_id/discovery-requirements.ts index 76b6d895..741fa9b3 100644 --- a/src/api/routes/guilds/#guild_id/discovery-requirements.ts +++ b/src/api/routes/guilds/#guild_id/discovery-requirements.ts @@ -26,7 +26,7 @@ router.get( route({ responses: { 200: { - body: "GuildDiscoveryRequirements", + body: "GuildDiscoveryRequirementsResponse", }, }, }), diff --git a/src/util/schemas/responses/GuildDiscoveryRequirements.ts b/src/util/schemas/responses/GuildDiscoveryRequirements.ts index 2d303133..731976f7 100644 --- a/src/util/schemas/responses/GuildDiscoveryRequirements.ts +++ b/src/util/schemas/responses/GuildDiscoveryRequirements.ts @@ -1,4 +1,4 @@ -export interface GuildDiscoveryRequirements { +export interface GuildDiscoveryRequirementsResponse { uild_id: string; safe_environment: boolean; healthy: boolean; -- cgit 1.5.1