From 951361f0ca37bb65990a340ff9fc843772f5be2f Mon Sep 17 00:00:00 2001 From: Gerard Snaauw <33763579+gerardsn@users.noreply.github.com> Date: Wed, 4 Sep 2024 11:37:54 +0200 Subject: [PATCH] remove incorrect value (#3341) --- vdr/didsubject/manager.go | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/vdr/didsubject/manager.go b/vdr/didsubject/manager.go index c4f3acf2d..f95132a82 100644 --- a/vdr/didsubject/manager.go +++ b/vdr/didsubject/manager.go @@ -231,9 +231,8 @@ func (r *Manager) CreateService(ctx context.Context, subject string, service did return nil, err } sqlService := orm.Service{ - ID: service.ID.String(), - DIDDocumentID: current.DidID, - Data: asJson, + ID: service.ID.String(), + Data: asJson, } current.Services = append(current.Services, sqlService) @@ -326,9 +325,8 @@ func (r *Manager) UpdateService(ctx context.Context, subject string, serviceID s return nil, err } sqlService := orm.Service{ - ID: service.ID.String(), - DIDDocumentID: current.DidID, - Data: asJson, + ID: service.ID.String(), + Data: asJson, } current.Services = append(current.Services, sqlService) return current, nil