I have / example code has the server “Cloud Functions” code in a js file and i use the method to automaticallly update the Moralis server with the command line from same directory as that js file:
moralis-admin-cli watch-cloud-file --moralisApiKey 2O...aj --moralisApiSecret ZM...bG --moralisSubdomain yj..rd.moralis.io --moralisCloudFile ./cloud-functions.js
File Uploaded Correctly
But when I open the “Cloud Functions” screen of the server (via the ‘Cloud Functions’-button) then its empty.
When i create and save a pluggin the update/save action of the server is triggerd and then the cloud function code is also visible…
Why is code initially not visible, but after a manual refresh/update or plugin save?
When i click the save button of Cloud Functions screen (with an empty Cloud Functions box / after the cli command) it shows “null” when i reopen the “Cloud Functions” screen.
The moralis-admin-cli is properly installed (windows10) and I use the powerShell.
What is wrong?