From 3f463879be0decc7db029121072c655027b41ca5 Mon Sep 17 00:00:00 2001 From: Wout Slakhorst Date: Mon, 4 Dec 2023 13:28:27 +0100 Subject: [PATCH] remove comment --- vcr/api/vcr/v2/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcr/api/vcr/v2/api.go b/vcr/api/vcr/v2/api.go index b9558c5db3..1240dece68 100644 --- a/vcr/api/vcr/v2/api.go +++ b/vcr/api/vcr/v2/api.go @@ -327,7 +327,7 @@ func (w *Wrapper) LoadVC(ctx context.Context, request LoadVCRequestObject) (Load if err != nil { return nil, core.InvalidInputError("invalid holder did: %w", err) } - // VCs can only be added to the wallet of the credentialSubject.ID + if request.Body == nil { return nil, core.InvalidInputError("missing credential in body") }