From 41dbd52e6bd38b7092f721306b49d9ca815a7744 Mon Sep 17 00:00:00 2001 From: Darp Alakun Date: Sun, 5 Jan 2025 01:49:06 -0500 Subject: [PATCH] refactor: improved type handling in CredentialArrayToDescriptors function --- pkg/context/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/context/types.go b/pkg/context/types.go index b5c440e..eacc1ac 100644 --- a/pkg/context/types.go +++ b/pkg/context/types.go @@ -32,7 +32,7 @@ func (c *CredentialDescriptor) ToModel(handle, origin string) *hwayorm.Credentia } } -func CredentialArrayToDescriptors(credentials []*hwayorm.Credential) []*CredentialDescriptor { +func CredentialArrayToDescriptors(credentials []hwayorm.Credential) []*CredentialDescriptor { var descriptors []*CredentialDescriptor for _, cred := range credentials { cd := &CredentialDescriptor{