Skip to content

Commit

Permalink
fix: Added the correct type for owned-credentials method (eclipse-tra…
Browse files Browse the repository at this point in the history
  • Loading branch information
leandro-cavalcante authored Jul 30, 2024
1 parent 134de56 commit 2140222
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static RouteGroupBuilder MapIssuerApi(this RouteGroupBuilder group)
r.AddRequirements(new MandatoryIdentityClaimRequirement(PolicyTypeId.ValidBpn));
})
.WithDefaultResponses()
.Produces(StatusCodes.Status200OK, typeof(IEnumerable<CredentialDetailData>), Constants.JsonContentType);
.Produces(StatusCodes.Status200OK, typeof(IEnumerable<OwnedVerifiedCredentialData>), Constants.JsonContentType);

issuer.MapPost("bpn", ([FromBody] CreateBpnCredentialRequest requestData, CancellationToken cancellationToken, IIssuerBusinessLogic logic) => logic.CreateBpnCredential(requestData, cancellationToken))
.WithSwaggerDescription("Creates a bpn credential for the given data",
Expand Down

0 comments on commit 2140222

Please sign in to comment.