Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api docs: Use better language for no parameters allowed.

Tim Abbottbca164c1b66b
diff --git a/zerver/lib/bugdown/api_arguments_table_generator.py b/zerver/lib/bugdown/api_arguments_table_generator.py
index 9793f91c7f0..c49033186f1 100644
--- a/zerver/lib/bugdown/api_arguments_table_generator.py
+++ b/zerver/lib/bugdown/api_arguments_table_generator.py
@@ -72,7 +72,7 @@ class APIArgumentsTablePreprocessor(Preprocessor):
if arguments:
text = self.render_table(arguments)
else:
- text = ['This endpoint does not consume any arguments.']
+ text = ['This endpoint does not accept any parameters.']
# The line that contains the directive to include the macro
# may be preceded or followed by text or tags, in that case
# we need to make sure that any preceding or following text