mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-06 06:48:21 +00:00
Fix for incorrect url for REST API queries
This commit is contained in:
parent
b687b49127
commit
1fdbac3f2d
1 changed files with 2 additions and 2 deletions
|
|
@ -38,12 +38,12 @@ class RestapiQueryService
|
|||
|
||||
response = if method.downcase === 'get'
|
||||
HTTParty.send(method.downcase,
|
||||
data_query.options['url'],
|
||||
url,
|
||||
headers: headers,
|
||||
query: url_params.to_h)
|
||||
else
|
||||
HTTParty.send(method.downcase,
|
||||
data_query.options['url'],
|
||||
url,
|
||||
headers: headers,
|
||||
query: url_params.to_h,
|
||||
body: body.to_h)
|
||||
|
|
|
|||
Loading…
Reference in a new issue