This commit is contained in:
thosakwe 2016-11-28 00:05:20 -05:00
parent 5434b14abe
commit ac83e14f7f
2 changed files with 5 additions and 2 deletions

View file

@ -89,7 +89,10 @@ class Rest extends Angel {
} }
}); });
request.send(credentials); if (credentials == null)
request.send();
else
request.send(JSON.encode(credentials));
return completer.future; return completer.future;
} else { } else {

View file

@ -1,5 +1,5 @@
name: angel_client name: angel_client
version: 1.0.0-dev+10 version: 1.0.0-dev+11
description: Client library for the Angel framework. description: Client library for the Angel framework.
author: Tobe O <thosakwe@gmail.com> author: Tobe O <thosakwe@gmail.com>
homepage: https://github.com/angel-dart/angel_client homepage: https://github.com/angel-dart/angel_client