From da93738960f21aa5a7e057f4f7dadd573ea03709 Mon Sep 17 00:00:00 2001 From: emuroni Date: Wed, 4 Sep 2024 16:06:06 +0200 Subject: [PATCH] removed workaround, the refresh service works with the following formats: * urn:uuid:123-123 * 123-123 * https:///..../123-123 --- .../domain/use_cases/refresh_credential_use_case.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/credential/domain/use_cases/refresh_credential_use_case.dart b/lib/credential/domain/use_cases/refresh_credential_use_case.dart index 14e91813..f7e6e1cd 100644 --- a/lib/credential/domain/use_cases/refresh_credential_use_case.dart +++ b/lib/credential/domain/use_cases/refresh_credential_use_case.dart @@ -64,7 +64,7 @@ class RefreshCredentialUseCase type: "https://iden3-communication.io/credentials/1.0/refresh", thid: id, body: CredentialRefreshBodyRequest( - param.credential.id.replaceAll("urn:uuid:", ""), + param.credential.id, "expired", ), from: param.credential.did,