From 91417a5c7e55e30d3f7f7d5cccf6d08af98c37d7 Mon Sep 17 00:00:00 2001 From: Dan Morphis Date: Tue, 2 Sep 2014 10:14:05 -0800 Subject: [PATCH] Fix parse error on the inform message --- lib/soap.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/soap.coffee b/lib/soap.coffee index 9faaa1a..035004d 100644 --- a/lib/soap.coffee +++ b/lib/soap.coffee @@ -232,7 +232,7 @@ acsInform = (xml) -> parameterList : parameterValueList(xml.get('ParameterList')), deviceId : traverseXml(xml.get('DeviceId')), event : event(xml.get('Event')), - retryCount : JSON.parse(xml.get('RetryCount').text()) + retryCount : parseInt(xml.get('RetryCount').text()) }