From b6304f1a7708aeea600bd9ec43a9b6d279f83029 Mon Sep 17 00:00:00 2001 From: SuperBatata Date: Fri, 15 Nov 2024 13:23:39 +0100 Subject: [PATCH] fix : delete aws key function --- .../src/commonMain/kotlin/id/walt/crypto/keys/aws/AWSKey.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/waltid-libraries/crypto/waltid-crypto/src/commonMain/kotlin/id/walt/crypto/keys/aws/AWSKey.kt b/waltid-libraries/crypto/waltid-crypto/src/commonMain/kotlin/id/walt/crypto/keys/aws/AWSKey.kt index 219065ae1..deb732ff1 100644 --- a/waltid-libraries/crypto/waltid-crypto/src/commonMain/kotlin/id/walt/crypto/keys/aws/AWSKey.kt +++ b/waltid-libraries/crypto/waltid-crypto/src/commonMain/kotlin/id/walt/crypto/keys/aws/AWSKey.kt @@ -291,11 +291,8 @@ class AWSKey( } setBody(body) } - logger.debug { "Key $id scheduled for deletion" } - - println("response: ${response.bodyAsText()}") - return true + return response.status == HttpStatusCode.OK }