diff options
author | Puyodead1 <puyodead@proton.me> | 2023-03-24 21:30:23 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-04-13 15:29:21 -0400 |
commit | 5c0a6f4e55fcf798a3ba28977086401af6f94eda (patch) | |
tree | b58b603db5f1d2b78ed62a3c66ce7645c46edd0e /src | |
parent | idk how that file got in there (diff) | |
download | server-5c0a6f4e55fcf798a3ba28977086401af6f94eda.tar.xz |
oapi: fix guild discovery requirements
Diffstat (limited to 'src')
-rw-r--r-- | src/api/routes/guilds/#guild_id/discovery-requirements.ts | 2 | ||||
-rw-r--r-- | src/util/schemas/responses/GuildDiscoveryRequirements.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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; |