So I'm trying to access one of the server requests:
var currentInventory = server.GetUserInventory({ PlayFabId = currentPlayerId });
But I receive this error:
Because I believe that it doesn't recognise the server function.
How do I access the server functions through the cloud-script revision?
,I'm trying to access the server functions from within the cloudscript:
var currentInventory = server.GetUserInventory({ PlayFabId = currentPlayerId });
But I get this error:
Essentially stating that I cant access this request.
How do I access server API requests through cloudscript?