From 4d35ee008b8562c4c98e6cb07e6dfa3b4e0f1c71 Mon Sep 17 00:00:00 2001 From: Christer Rustand Date: Wed, 15 Nov 2023 15:45:55 +0100 Subject: [PATCH] Add HTTP attributes to actions in HomeController --- src/Controllers/HomeController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Controllers/HomeController.cs b/src/Controllers/HomeController.cs index 945b881c..c46c4792 100644 --- a/src/Controllers/HomeController.cs +++ b/src/Controllers/HomeController.cs @@ -180,6 +180,7 @@ public async Task LogInTestUser(string action, StartAppModel start /// /// /// + [HttpGet("{userId}")] public async Task GetTestUserToken(int userId) { UserProfile profile = await _userProfileService.GetUser(userId); @@ -199,6 +200,7 @@ public async Task GetTestUserToken(int userId) /// /// /// + [HttpGet("{id}")] public async Task GetTestOrgToken(string id, [FromQuery] string orgNumber = null) { // Create a test token with long duration