diff --git a/utils/Yup.ts b/utils/Yup.ts index e16b197..9383191 100644 --- a/utils/Yup.ts +++ b/utils/Yup.ts @@ -137,7 +137,7 @@ export const DeveloperBotSchema: Yup.SchemaOf = Yup.object({ webhook: Yup.string().matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.').matches(Url, '올바른 웹훅 URL을 입력해주세요.').max(64, 'URL은 최대 64자까지만 가능합니다.') }) -interface DeveloperBot { +export interface DeveloperBot { webhook: string | null }