From d9f92a31646144a45efbca06f967c39b67936030 Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 14 May 2022 20:20:37 -0400 Subject: [PATCH] Simpler again. --- src/interfaces/api/site.ts | 2 +- src/interfaces/source.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/interfaces/api/site.ts b/src/interfaces/api/site.ts index 0b6281e..7160f1f 100644 --- a/src/interfaces/api/site.ts +++ b/src/interfaces/api/site.ts @@ -86,7 +86,7 @@ export interface GetModlogResponse { export interface CreateSite { name: string; - sidebar?: string; + sidebar: Option; description?: string; icon?: string; banner?: string; diff --git a/src/interfaces/source.ts b/src/interfaces/source.ts index 22fd8e7..2467d3a 100644 --- a/src/interfaces/source.ts +++ b/src/interfaces/source.ts @@ -50,7 +50,7 @@ export interface Site { open_registration: boolean; enable_nsfw: boolean; icon?: string; - banner: Option; + banner?: string; description?: string; community_creation_admin_only: boolean; require_email_verification: boolean;