Skip to content

Commit 76f9c19

Browse files
author
=
committed
Commit Hash Required
1 parent 78f7f14 commit 76f9c19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/bitbucket_rest_api/repos/download.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ def get(user_name, repo_name, params={})
88
_validate_user_repo_params(user, repo) unless user? && repo?
99
normalize! params
1010
assert_required_keys(REQUIRED_KEY_PARAM_NAMES, params)
11-
commit_hash=params[:commit_hash]
11+
1212
#https://bitbucket.org/jhanley85/eternum_canvas_demo/get/fd931f96f12d.zip
13-
"https://bitbucket.org/#{user}/#{repo.downcase}/get/#{commit_hash}.tar.gz"
13+
"https://bitbucket.org/#{user}/#{repo.downcase}/get/#{params[:commit_hash]}.tar.gz"
1414
end
1515

1616

0 commit comments

Comments
 (0)