2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2025-06-27 14:53:11 +00:00
This commit is contained in:
2022-01-03 15:39:19 +03:00
parent 614c6853e3
commit eed16df29a
20 changed files with 521 additions and 443 deletions

View File

@ -219,7 +219,7 @@ class TemplateGenerator {
var con = await Warehouse.get<DistributedConnection>(
(path[1] as String) + "://" + (path[2] as String),
!isNullOrEmpty(username) && !isNullOrEmpty(password)
? {username: username, password: password}
? {"username": username, "password": password}
: null);
if (con == null) throw Exception("Can't connect to server");