diff --git a/lib/github_changelog_generator/fetcher.rb b/lib/github_changelog_generator/fetcher.rb index ff8cf62..e1181bc 100644 --- a/lib/github_changelog_generator/fetcher.rb +++ b/lib/github_changelog_generator/fetcher.rb @@ -220,7 +220,7 @@ Make sure, that you push tags to remote repo via 'git push --tags'" # Fetch commit for specified event # @return [Hash] def fetch_commit(event) - @github.git_data.commits.get @options[:user], @options[:project], event['commit_id'] + @github.git_data.commits.get @options[:user], @options[:project], event[:commit_id] end end end