diff --git a/src/Altinn.Notifications.Core/Services/KeywordsService.cs b/src/Altinn.Notifications.Core/Services/KeywordsService.cs index 447eab3c..88683f27 100644 --- a/src/Altinn.Notifications.Core/Services/KeywordsService.cs +++ b/src/Altinn.Notifications.Core/Services/KeywordsService.cs @@ -154,7 +154,7 @@ private async Task ReplaceRecipientNamePlaceholderAsync( /// A function to set the body of the recipient. /// A function to get the national identity number of the recipient. /// A function to get the organization number of the recipient. - private void ReplaceRecipientNumberPlaceholder( + private static void ReplaceRecipientNumberPlaceholder( T recipient, Func getBody, Action setBody,