Gh 24291 api meesage unclear when parameters are incorrect (#26457)

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Ezekiel
2024-04-10 17:04:41 +08:00
коммит произвёл GitHub
родитель 1806ba2cc7
Коммит 9fee0393c3
4 изменённых файлов: 47 добавлений и 9 удалений

Просмотреть файл

@@ -307,6 +307,14 @@
"id": "api.channel.create_channel.max_channel_limit.app_error",
"translation": "Unable to create more than {{.MaxChannelsPerTeam}} channels for current team."
},
{
"id": "api.channel.create_channel.missing_display_name.error",
"translation": "Missing display_name in request body"
},
{
"id": "api.channel.create_channel.missing_team_id.error",
"translation": "Missing team_id in request body"
},
{
"id": "api.channel.create_default_channels.off_topic",
"translation": "Off-Topic"