From c220ac43c748e5c794c679739d8a4ef9153a8ad2 Mon Sep 17 00:00:00 2001 From: yushihang Date: Mon, 13 Jan 2025 21:52:57 +0800 Subject: [PATCH] typo fix --- internal/gateways/publisher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/gateways/publisher.go b/internal/gateways/publisher.go index 532cba4cf..d52105ac8 100644 --- a/internal/gateways/publisher.go +++ b/internal/gateways/publisher.go @@ -454,8 +454,8 @@ func (p *publisher) updateIdentityStateTxStatus(ctx context.Context, identity *d } log.Info(ctx, "sending notifications:", "numberOfClaims", len(claimsToNotify)) - grupedCredentials := groupByUserId(claimsToNotify) - for _, claims := range grupedCredentials { + groupedCredentials := groupByUserId(claimsToNotify) + for _, claims := range groupedCredentials { err = p.notificationPublisher.Publish(ctx, event.CreateCredentialEvent, &event.CreateCredential{CredentialIDs: claims, IssuerID: state.Identifier}) if err != nil { log.Error(ctx, "publish EventCreateCredential", "err", err.Error(), "credential", claims)