@@ -207,7 +207,7 @@ export class APITaskController extends Controller {
private_generateRequests(message){
letpayload=message[1];
message=JSON.parse(payload.toString());
if (message.hasOwnProperty("featureOfInterest")&&message.hasOwnProperty("unitOfMeasurement")&&message.hasOwnProperty("creatorId")&&message.hasOwnProperty("threshold")&&message.hasOwnProperty("location")&&message.hasOwnProperty("uuid")&&message.uuid!==undefined&&message.location!==undefined&&message.threshold!==undefined&&message.creatorId!==undefined&&message.unitOfMeasurement!==undefined&&message.featureOfInterest!==undefined){
if (message.hasOwnProperty("featureOfInterest")&&message.hasOwnProperty("unitOfMeasurement")&&message.hasOwnProperty("creatorId")&&message.hasOwnProperty("location")&&message.hasOwnProperty("uuid")&&message.uuid!==undefined&&message.location!==undefined&&message.threshold!==undefined&&message.creatorId!==undefined&&message.unitOfMeasurement!==undefined&&message.featureOfInterest!==undefined){