lib/slack/web/api/endpoints/team.rb in slack-ruby-client-0.5.3 vs lib/slack/web/api/endpoints/team.rb in slack-ruby-client-0.5.4

- old
+ new

@@ -35,9 +35,10 @@ # @option options [Object] :change_type # Filter logs with this change type. Defaults to all logs. # @see https://api.slack.com/methods/team.integrationLogs # @see https://github.com/dblock/slack-api-ref/blob/master/methods/team.integrationLogs.json def team_integrationLogs(options = {}) + options = options.merge(user: users_id(options)['user']['id']) if options[:user] post('team.integrationLogs', options) end end end end