diff --git a/lib/src/objects/parse_object.dart b/lib/src/objects/parse_object.dart index 73fb5e871..6b474fb9a 100644 --- a/lib/src/objects/parse_object.dart +++ b/lib/src/objects/parse_object.dart @@ -65,7 +65,7 @@ class ParseObject extends ParseBase implements ParseCloneable { Future create() async { try { final Uri url = getSanitisedUri(_client, '$_path'); - final String body = json.encode(toJson(forApiRQ: true); + final String body = json.encode(toJson(forApiRQ: true)); final Response result = await _client.post(url, body: body); //Set the objectId on the object after it is created. @@ -74,7 +74,7 @@ class ParseObject extends ParseBase implements ParseCloneable { final Map map = json.decode(result.body); objectId = map['objectId'].toString(); } - + return handleResponse( this, result, ParseApiRQ.create, _debug, className); } on Exception catch (e) {