mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-21 10:38:25 +01:00
fix(API): simplified call to form_urlencode
It now supports more generic inputs, as suggested in a lenghty dialog on a corresponding github issue. Required to build with >=0.2.33
This commit is contained in:
@@ -658,7 +658,7 @@ else {
|
||||
|
||||
if params.len() > 0 {
|
||||
url.push('?');
|
||||
url.push_str(&url::form_urlencoded::serialize(params.iter().map(|t| (t.0, t.1.as_ref()))));
|
||||
url.push_str(&url::form_urlencoded::serialize(params));
|
||||
}
|
||||
|
||||
% if request_value:
|
||||
|
||||
Reference in New Issue
Block a user