Skip to content

Commit

Permalink
fix(apps): remove leading '/' from the activate subscription endpoint (
Browse files Browse the repository at this point in the history
  • Loading branch information
ntruchsess committed Jul 29, 2024
1 parent 53a4369 commit 64a5f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/marketplace/Apps.Service/Controllers/AppsController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ public IAsyncEnumerable<AgreementData> GetAppAgreement([FromRoute] Guid appId) =
/// <response code="404">If sub claim is empty/invalid or user does not exist, or any other parameters are invalid.</response>
/// <response code="500">Internal Server Error.</response>
[HttpPut]
[Route("/subscription/{subscriptionId}/activate")]
[Route("subscription/{subscriptionId}/activate")]
[Authorize(Roles = "activate_subscription")]
[Authorize(Policy = PolicyTypes.ValidIdentity)]
[Authorize(Policy = PolicyTypes.ValidCompany)]
Expand Down

0 comments on commit 64a5f46

Please sign in to comment.