diff --git a/src/main.cr b/src/main.cr index 9af328a..53b39bd 100644 --- a/src/main.cr +++ b/src/main.cr @@ -51,7 +51,7 @@ when .fetch("login", false) when .fetch("new", false) status = Faaso::Commands::New.new.run(ans, ans["FOLDER"].as(Array(String))[0]) when .fetch("scale", false) - status = Faaso::Commands::Scale.new.run(ans, ans["FUNKO"].as(String), ans["SCALE"]) + status = Faaso::Commands::Scale.new.run(ans, ans["FUNKO"].as(String), ans["SCALE"].as(String).to_i) when .fetch("secret", false) status = Faaso::Commands::Secret.new.run(ans, ans["FUNKO"].as(String), ans["SECRET"].as(String)) when .fetch("status", false)