Skip to content

Commit

Permalink
fix(credential): adjust puris credential naming
Browse files Browse the repository at this point in the history
Refs: #147
  • Loading branch information
Phil91 committed May 23, 2024
1 parent d07abc5 commit e7713da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public enum VerifiedCredentialExternalTypeId
[EnumMember(Value = "DemandCapacityCredential")]
DEMAND_AND_CAPACITY_MANAGEMENT = 8,

[EnumMember(Value = "DemandCapacityCredential")]
[EnumMember(Value = "PurisCredential")]
DEMAND_AND_CAPACITY_MANAGEMENT_PURIS = 9,

[EnumMember(Value = "BusinessPartnerCredential")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ public static RouteGroupBuilder MapRevocationApi(this RouteGroupBuilder group)
.WithDefaultResponses()
.Produces(StatusCodes.Status200OK, typeof(Guid));
revocation.MapPost("credentials/{credentialId}", ([FromRoute] Guid credentialId, CancellationToken cancellationToken, [FromServices] IRevocationBusinessLogic logic) => logic.RevokeCredential(credentialId, false, cancellationToken))
.WithSwaggerDescription("Revokes an credential of an holder",
.WithSwaggerDescription("Credential Revocation by holder",
"POST: api/revocation/credentials/{credentialId}",
"Id of the credential that should be revoked",
"The information for the holder wallet",
"CancellationToken")
.RequireAuthorization(r =>
{
Expand Down

0 comments on commit e7713da

Please sign in to comment.