chore: increased webhook url max length

feat: https://github.com/koreanbots/v2-testing/issues/59
This commit is contained in:
Junseo Park 2021-02-28 11:25:22 +09:00
parent 5d14769d51
commit 67695d9b90

View File

@ -135,7 +135,7 @@ export const ManageBotSchema = Yup.object({
})
export const DeveloperBotSchema: Yup.SchemaOf<DeveloperBot> = Yup.object({
webhook: Yup.string().matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.').matches(Url, '올바른 웹훅 URL을 입력해주세요.').max(64, 'URL은 최대 64자까지만 가능합니다.'),
webhook: Yup.string().matches(HTTPProtocol, 'http:// 또는 https:// 로 시작해야합니다.').matches(Url, '올바른 웹훅 URL을 입력해주세요.').max(150, 'URL은 최대 150자까지만 가능합니다.'),
_csrf: Yup.string().required()
})