lib/magellan/cli/resources/client_version.rb in magellan-cli-0.7.4 vs lib/magellan/cli/resources/client_version.rb in magellan-cli-0.7.5

- old
+ new

@@ -61,10 +61,10 @@ desc "delete VERSION", I18n.t(:delete, scope: [:resources, :client_version, :cmd], resource_name: resource_name) def delete(version) q = build_query("version" => version).update(default_query) r = get_first_result!(self.class.resource_name, version, "/admin/#{resource_key}.json", q) - super("/admin/#{resource_key}/#{r['id']}/delete") + super("/admin/#{resource_key}/#{r['id']}/delete.json") log_success("OK") end desc "select VERSION", I18n.t(:select, scope: [:resources, :client_version, :cmd], resource_name: 'client_version') def select(name)