From 26ed6686115e7164192d372b3f9c0d0f4db767f2 Mon Sep 17 00:00:00 2001 From: M Date: Wed, 8 Jan 2020 15:59:37 +0200 Subject: [PATCH] Fixed cast for json to dart Map instead of Map in too/secrets.dart --- tool/secrets.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/secrets.dart b/tool/secrets.dart index bc6f4b679..e8d327d5b 100644 --- a/tool/secrets.dart +++ b/tool/secrets.dart @@ -12,7 +12,7 @@ Future main() async { : secretsTestPath; final inoutContent = File(inputPath).readAsStringSync(); - final config = json.decode(inoutContent) as Map; + final config = json.decode(inoutContent) as Map; final output = 'const salt = \'${config["salt"]}\';\nconst key = \'${config["key"]}\';\nconst walletSalt = \'${config["walletSalt"]}\';\nconst shortKey = \'${config["shortKey"]}\';\nconst change_now_api_key = \'${config["change_now_api_key"]}\';';