mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-06-27 14:53:11 +00:00
1.4.5
This commit is contained in:
@ -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");
|
||||
|
Reference in New Issue
Block a user