Skip to content

Commit 184d265

Browse files
committed
rubocop
1 parent 952f973 commit 184d265

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/discourse_chatbot/functions/stock_data_function.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def process(args)
4545
api_response = JSON.parse(json)
4646

4747
ticker = api_response['data'][0]['symbol']
48-
uri = args[parameters[1][:name]].blank? ? URI("http://api.marketstack.com/v1/eod/latest") : URI("http://api.marketstack.com/v1/eod/#{args[parameters[1][:name]]}")
48+
uri = args[parameters[1][:name]].blank? ? URI("http://api.marketstack.com/v1/eod/latest") : URI("http://api.marketstack.com/v1/eod/#{args[parameters[1][:name]]}")
4949

5050
params = {
5151
access_key: "#{SiteSetting.chatbot_marketstack_key}",

plugin.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22
# name: discourse-chatbot
33
# about: a plugin that allows you to have a conversation with a configurable chatbot in Discourse Chat, Topics and Private Messages
4-
# version: 0.28
4+
# version: 0.29
55
# authors: merefield
66
# url: https://github.com/merefield/discourse-chatbot
77

0 commit comments

Comments
 (0)