mercredi 25 septembre 2019

How can i call a Parse.Cloud function in a ember component

I create a function on my "main.js" (API). I have some afterSave, afterDelete function on this main.js which they are called when i save or delete some object in my ember components. Here's come my problem:

I create a function "Parse.Cloud.Define('myFunction'...)", but i can't call it on my ember component... i've tried to call the function with "Parse.Cloud.run" in my component, but i got a ReferenceError.

My question is, what should i do to call this function?

I create this function to provide parameters to my API, because with these parameters i can use the function to change the Password.




Aucun commentaire:

Enregistrer un commentaire