From 40aaf183f7f2dfd4310a9c6855530ad4e8f56b43 Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang <141655842+zhiyuanliang-ms@users.noreply.github.com> Date: Tue, 23 Apr 2024 15:49:01 +0800 Subject: [PATCH 1/2] Fix type in README --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c8e59665..84c5a5cf 100644 --- a/README.md +++ b/README.md @@ -694,8 +694,8 @@ There are three possible recurrence range type: `NoEnd`, `EndDate` and `Numbered "Recurrence":{ "Pattern": { "Type": "Weekly", - "Interval": 1 - "DaysOfWeek": ["Monday", "Tuesday"], + "Interval": 1, + "DaysOfWeek": ["Monday", "Tuesday"] }, "Range": { "Type": "Numbered", @@ -802,7 +802,7 @@ IFeatureManager fm; TargetingContext targetingContext = new TargetingContext { UserId = userId, - Groups = groups; + Groups = groups } await fm.IsEnabledAsync(featureName, targetingContext); From d40c3b742abc3fda611155fe8e79e3104ad72c15 Mon Sep 17 00:00:00 2001 From: Zhiyuan Liang Date: Tue, 23 Apr 2024 15:51:19 +0800 Subject: [PATCH 2/2] fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 84c5a5cf..9137c6ed 100644 --- a/README.md +++ b/README.md @@ -803,7 +803,7 @@ TargetingContext targetingContext = new TargetingContext { UserId = userId, Groups = groups -} +}; await fm.IsEnabledAsync(featureName, targetingContext); ```