Hi, I'm trying to update my game's catalog programatically. I found documentation for the UpdateCatalogItems API, and assumed the following would work...
// var catalog = ... server.UpdateCatalogItems({ PlayFabId: currentPlayerId, Data: { Catalog: catalog } });
But I get the following error:
{ "FunctionResult": null, "Logs": [], "ExecutionTimeSeconds": 0.0678778, "MemoryConsumedBytes": 221384, "APIRequestsIssued": 1, "HttpRequestsIssued": 0, "Error": { "Error": "JavascriptException", "Message": "JavascriptException", "StackTrace": "TypeError: server.UpdateCatalogItems is not a function\n at handlers.UpdateCatalogItems (6D4B7-CloudScript.js:453:10)\n at Object.invokeFunction (Script:116:33)" } }
Am I missing something obvious here?