mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Align CLI generator with changes in string type handling
There was some duplicated logic here.
This commit is contained in:
@@ -56,7 +56,7 @@ impl<'n> Engine<'n> {
|
||||
call = call.start_change_id(value.unwrap_or(""));
|
||||
},
|
||||
"max-change-id-count" => {
|
||||
call = call.max_change_id_count(arg_from_str(value.unwrap_or("-0"), err, "max-change-id-count", "int64"));
|
||||
call = call.max_change_id_count(value.unwrap_or(""));
|
||||
},
|
||||
"include-subscribed" => {
|
||||
call = call.include_subscribed(arg_from_str(value.unwrap_or("false"), err, "include-subscribed", "boolean"));
|
||||
|
||||
Reference in New Issue
Block a user