pushProfiles.add(1);
}
boolean[] withError=new boolean[6];
PushService ps=new PushService();
try{
if(ps.validate(pushProfiles)) withError=ps.send(message, usernames, pushProfiles, bodyJson, withError);
}
catch (UserNotFoundException e) {
Logger.error("Username not found " + username, e);
return notFound("Username not found");
}