diff --git a/Assets/Talo Game Services/Talo/Runtime/APIs/ChannelsAPI.cs b/Assets/Talo Game Services/Talo/Runtime/APIs/ChannelsAPI.cs index 07ed6662..196d3b42 100644 --- a/Assets/Talo Game Services/Talo/Runtime/APIs/ChannelsAPI.cs +++ b/Assets/Talo Game Services/Talo/Runtime/APIs/ChannelsAPI.cs @@ -87,7 +87,7 @@ public class ChannelsAPI : BaseAPI public event Action OnChannelDeleted; public event Action OnChannelUpdated; public event Action OnChannelPropsRejected; - public event Action OnChannelStoragePropsFailedToSet; + public event Action OnChannelStoragePropsFailedToSet; public event Action OnChannelStoragePropsUpdated; private readonly ChannelStorageManager _storageManager = new (); diff --git a/Assets/Talo Game Services/Talo/Runtime/Responses/ChannelStoragePropsSetResponse.cs b/Assets/Talo Game Services/Talo/Runtime/Responses/ChannelStoragePropsSetResponse.cs index 25eaa6d2..e814a3d5 100644 --- a/Assets/Talo Game Services/Talo/Runtime/Responses/ChannelStoragePropsSetResponse.cs +++ b/Assets/Talo Game Services/Talo/Runtime/Responses/ChannelStoragePropsSetResponse.cs @@ -2,18 +2,10 @@ namespace TaloGameServices { - [Serializable] - public class ChannelStoragePropError - { - public string key; - public string error; - public string message; - } - [Serializable] public class ChannelStoragePropsSetResponse { public Channel channel; - public ChannelStoragePropError[] failedProps; + public RejectedProp[] failedProps; } } diff --git a/Assets/Talo Game Services/Talo/Samples/ChannelStorageDemo/Scripts/ChannelStorageDemoUIController.cs b/Assets/Talo Game Services/Talo/Samples/ChannelStorageDemo/Scripts/ChannelStorageDemoUIController.cs index abe713d9..914db7c7 100644 --- a/Assets/Talo Game Services/Talo/Samples/ChannelStorageDemo/Scripts/ChannelStorageDemoUIController.cs +++ b/Assets/Talo Game Services/Talo/Samples/ChannelStorageDemo/Scripts/ChannelStorageDemoUIController.cs @@ -139,7 +139,7 @@ private async void OnChannelStoragePropsUpdated(Channel channel, ChannelStorageP } } - private void OnChannelStoragePropsFailedToSet(Channel channel, ChannelStoragePropError[] errors) + private void OnChannelStoragePropsFailedToSet(Channel channel, RejectedProp[] errors) { foreach (var prop in errors) {