From 98f6c56a354b5e9094cf7c457ae346b775a3f81d Mon Sep 17 00:00:00 2001 From: Gerard Snaauw Date: Tue, 3 Sep 2024 15:41:05 +0200 Subject: [PATCH] remove incorrect value --- 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