terça-feira, 6 de Junho de 2017 às 14:51:02 UTC+1, Catia Matos escreveu: > > I'm trying to set a new configuration on a device and I have some > functions to do this request... All the functions with ubus returns the > status code [0] which means UBUS_STATUS_OK > <http://lxr.mein.io/ident?i=UBUS_STATUS_OK>. > > I dont udnerstand why my function with return > ServicesController.prototype.uci(device[0], "teste_wireless", "wifi", > ifname, "disabled", data.state, true, true).then(function(wifiData) always > return undefined. > > All the code is here http://plnkr.co/edit/5QaSxPXkz9Ts0mzCY4RE?p=preview > and i already had put a question here > https://stackoverflow.com/questions/44386538/function-returns-undefined-ubus-node-js > > <https://www.google.com/url?q=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F44386538%2Ffunction-returns-undefined-ubus-node-js&sa=D&sntz=1&usg=AFQjCNEFVJ6IoPcUW-7W8Cj6OtU3o3CrFw> >
-- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/b4a5126e-ed9f-41ff-a5a5-990c4b686eac%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
