File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/discourse_chatbot/functions Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 } " ,
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments