Allow http command to keep initial query parameters
This commit is contained in:
1 parent
6c75e89cfe
commit
f51a4f25a9
2 files changed
+9
-1
No files matched your search
@@ -143,7 +143,7 @@ module Google
|
||||
def prepare!
|
||||
header.update(options.header) if options && options.header
|
||||
self.url = url.expand(params) if url.is_a?(Addressable::Template)
|
||||
url.query_values = query
|
||||
url.query_values = query.merge(url.query_values || {})
|
||||
end
|
||||
|
||||
# Release any resources used by this command
|
||||
|
||||
Reference in new issue
Block a user