Skip to content

Commit 4443937

Browse files
committed
Add default value to update_and_validate_user_repo_params for repo
1 parent 89226cf commit 4443937

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/bitbucket_rest_api/api.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def method_missing(method, *args, &block) # :nodoc:
8080
end
8181
end
8282

83-
def update_and_validate_user_repo_params(user_name, repo_name)
83+
def update_and_validate_user_repo_params(user_name, repo_name=nil)
8484
_update_user_repo_params(user_name, repo_name)
8585
_validate_user_repo_params(user, repo) unless user? && repo?
8686
end

0 commit comments

Comments
 (0)