Skip to content

Commit

Permalink
Add missing credential identity
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed Oct 25, 2023
1 parent cfffd9b commit 70d7c7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/api/message/v3/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ func (s *Service) RegisterInstallation(ctx context.Context, req *proto.RegisterI

installationId := results[0].InstallationId
walletAddress := results[0].WalletAddress
credentialIdentity := results[0].CredentialIdentity

if err = s.mlsStore.CreateInstallation(ctx, installationId, walletAddress, req.LastResortKeyPackage.KeyPackageTlsSerialized); err != nil {
if err = s.mlsStore.CreateInstallation(ctx, installationId, walletAddress, req.LastResortKeyPackage.KeyPackageTlsSerialized, credentialIdentity); err != nil {
return nil, err
}

Expand Down

0 comments on commit 70d7c7d

Please sign in to comment.