Hi,
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
with response:
add 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?