Skip to content

Commit 5b4d79f

Browse files
authored
Update scenario-protected-web-api-verification-scope-app-roles.md
Removed improper use of `cosnt` for instantiated array variable. Replaced with `static readonly`. Resolves #86545
1 parent 0c8a851 commit 5b4d79f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/active-directory/develop/scenario-protected-web-api-verification-scope-app-roles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public class TodoListController : Controller
169169
/// The web API will accept only tokens 1) for users, 2) that have the `access_as_user` scope for
170170
/// this API.
171171
/// </summary>
172-
const string[] scopeRequiredByApi = new string[] { "access_as_user" };
172+
static readonly string[] scopeRequiredByApi = new string[] { "access_as_user" };
173173

174174
// GET: api/values
175175
[HttpGet]

0 commit comments

Comments
 (0)