Skip to content

Commit

Permalink
Api; allow API requests in with the proper key
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Craver committed Dec 5, 2017
1 parent 8a6d72b commit cebb5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Opserver/Controllers/ApiController.cs
Expand Up @@ -9,7 +9,7 @@


namespace StackExchange.Opserver.Controllers namespace StackExchange.Opserver.Controllers
{ {
[OnlyAllow(Roles.LocalRequest | Roles.InternalRequest)] // API Requests are internal only [OnlyAllow(Roles.InternalRequest | Roles.ApiRequest)] // API Requests are internal only
public class ApiController : StatusController public class ApiController : StatusController
{ {
private Options JilOptions = Options.ExcludeNulls; private Options JilOptions = Options.ExcludeNulls;
Expand Down

0 comments on commit cebb5aa

Please sign in to comment.