From ef8f5c357f420fce28b133150a81aa11e81facee Mon Sep 17 00:00:00 2001 From: Roberto Alsina Date: Mon, 8 Jul 2024 17:42:33 -0300 Subject: [PATCH] Some type --- src/main.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)