From 14ed82a41cb7a9acf4dda563388df5d71661512e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Dybvik=20Langfors?= Date: Sat, 14 Sep 2024 23:21:45 +0200 Subject: [PATCH] Fix swaggergen error, add limitations section --- Controllers/WriteGuiActionController.cs | 2 +- README.md | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Controllers/WriteGuiActionController.cs b/Controllers/WriteGuiActionController.cs index af294c1..0fccc76 100644 --- a/Controllers/WriteGuiActionController.cs +++ b/Controllers/WriteGuiActionController.cs @@ -222,7 +222,7 @@ private Guid GetDialogId() return Guid.Parse(dialogId); } - public string GetActorId() + private string GetActorId() { var actorId = User.Claims.FirstOrDefault(c => c.Type == "c")?.Value; if (actorId is null) diff --git a/README.md b/README.md index e103c32..2408cd7 100644 --- a/README.md +++ b/README.md @@ -82,5 +82,9 @@ Example: GET {baseUrl}/fce ``` +### Current limitations +- Only works in the test (not staging) environment. +- Assumes that the service owner for the dialog is Digdir. + ### License MIT