Skip to content

Commit

Permalink
Merge branch 'feature/notifications' of https://github.com/Altinn/app…
Browse files Browse the repository at this point in the history
…-localtest into feature/notifications
  • Loading branch information
acn-sbuad committed Nov 17, 2023
2 parents 024936c + f87a80a commit 187b2f6
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 187b2f6

Please sign in to comment.