Skip to content

Commit f708c45

Browse files
committed
Copy SSH URL instead of HTML URL
1 parent 671839c commit f708c45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/github/repo.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def from_storage_string(storage_string)
3434
end
3535

3636
def from_api_response(api_response)
37-
new(api_response[:full_name], api_response[:html_url])
37+
new(api_response[:full_name], api_response[:ssh_url])
3838
end
3939
end
4040
end

0 commit comments

Comments
 (0)