summaryrefslogtreecommitdiff
path: root/lib/api/repositories.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/repositories.rb')
-rw-r--r--lib/api/repositories.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/repositories.rb b/lib/api/repositories.rb
index eaedd53aedb..f6ffeeea829 100644
--- a/lib/api/repositories.rb
+++ b/lib/api/repositories.rb
@@ -184,7 +184,7 @@ module API
type: String,
desc: 'The first commit in the range of commits to use for the changelog'
- requires :to,
+ optional :to,
type: String,
desc: 'The last commit in the range of commits to use for the changelog'