parse.com - Parse - afterSave and access inner field? -
i trying send of data in request client push notification. request object should "comment" object has pointer "user" object named "from".
i tried both
request.object.get("from").objectid and
request.object.get("from").get("objectid"); when log them in console looks both undefined
edit:
also tried use id instead of objectid in both cases.
this correct syntax:
request.object.get("from").id but works in beforesave. not quite sure why.
Comments
Post a Comment