Hi,
I'm trying to set up a Scheduled Task that runs a Cloud Script Azure Function. I want to update the Title Internal Data. Any feedback would be greatly appreciated. Here's my test code:
[FunctionName("TaskTest")] public static async Task Run([HttpTrigger(AuthorizationLevel.Function, "post", Route = null)] HttpRequest req, ILogger log) { string body = await req.ReadAsStringAsync(); ScheduledTaskFunctionExecutionContext<object> ctx = JsonConvert.DeserializeObject<ScheduledTaskFunctionExecutionContext<object>>(body); SetTitleDataRequest request = new SetTitleDataRequest { Key = "Test", Value = "1" }; await PlayFabServerAPI.SetTitleInternalDataAsync(request); }