From 4659bf16513ceb0d1d6bda9ce544ee844d90f7a6 Mon Sep 17 00:00:00 2001 From: jguz-pubnub Date: Tue, 13 Aug 2024 15:38:27 +0200 Subject: [PATCH] add_get_remove_MessageAction --- .../pubnub/api/endpoints/objects/uuid/GetUUIDMetadata.ios.kt | 2 +- .../pubnub/api/endpoints/objects/uuid/SetUUIDMetadata.ios.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pubnub-kotlin/pubnub-kotlin-api/src/iosMain/kotlin/com/pubnub/api/endpoints/objects/uuid/GetUUIDMetadata.ios.kt b/pubnub-kotlin/pubnub-kotlin-api/src/iosMain/kotlin/com/pubnub/api/endpoints/objects/uuid/GetUUIDMetadata.ios.kt index b32946178..b1f358303 100644 --- a/pubnub-kotlin/pubnub-kotlin-api/src/iosMain/kotlin/com/pubnub/api/endpoints/objects/uuid/GetUUIDMetadata.ios.kt +++ b/pubnub-kotlin/pubnub-kotlin-api/src/iosMain/kotlin/com/pubnub/api/endpoints/objects/uuid/GetUUIDMetadata.ios.kt @@ -29,7 +29,7 @@ class GetUUIDMetadataImpl( onSuccess = callback.onSuccessHandler { PNUUIDMetadataResult( status = 200, - data = it?.let { createPNUUIDMetadata(from = it) } + data = createPNUUIDMetadata(it) ) }, onFailure = callback.onFailureHandler() diff --git a/pubnub-kotlin/pubnub-kotlin-api/src/iosMain/kotlin/com/pubnub/api/endpoints/objects/uuid/SetUUIDMetadata.ios.kt b/pubnub-kotlin/pubnub-kotlin-api/src/iosMain/kotlin/com/pubnub/api/endpoints/objects/uuid/SetUUIDMetadata.ios.kt index d61123679..e64a18747 100644 --- a/pubnub-kotlin/pubnub-kotlin-api/src/iosMain/kotlin/com/pubnub/api/endpoints/objects/uuid/SetUUIDMetadata.ios.kt +++ b/pubnub-kotlin/pubnub-kotlin-api/src/iosMain/kotlin/com/pubnub/api/endpoints/objects/uuid/SetUUIDMetadata.ios.kt @@ -45,7 +45,7 @@ class SetUUIDMetadataImpl( onSuccess = callback.onSuccessHandler { PNUUIDMetadataResult( status = 200, - data = it?.let { createPNUUIDMetadata(from = it) } + data = createPNUUIDMetadata(it) ) }, onFailure = callback.onFailureHandler()