Skip to content

Commit

Permalink
Add HTTP attributes to actions in HomeController
Browse files Browse the repository at this point in the history
  • Loading branch information
chrrust committed Nov 15, 2023
1 parent fc95a47 commit 4d35ee0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Controllers/HomeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public async Task<ActionResult> LogInTestUser(string action, StartAppModel start
/// </summary>
/// <param name="userId"></param>
/// <returns></returns>
[HttpGet("{userId}")]
public async Task<ActionResult> GetTestUserToken(int userId)
{
UserProfile profile = await _userProfileService.GetUser(userId);
Expand All @@ -199,6 +200,7 @@ public async Task<ActionResult> GetTestUserToken(int userId)
/// </summary>
/// <param name="id"></param>
/// <returns></returns>
[HttpGet("{id}")]
public async Task<ActionResult> GetTestOrgToken(string id, [FromQuery] string orgNumber = null)
{
// Create a test token with long duration
Expand Down

0 comments on commit 4d35ee0

Please sign in to comment.