Permalink
Browse files

Api; allow API requests in with the proper key

  • Loading branch information...
Nick Craver
Nick Craver committed Dec 5, 2017
1 parent 8a6d72b commit cebb5aaf3fca9efaf0d0688dd69e342d4a33c89b
Showing with 1 addition and 1 deletion.
  1. +1 −1 Opserver/Controllers/ApiController.cs
@@ -9,7 +9,7 @@
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
{
private Options JilOptions = Options.ExcludeNulls;

0 comments on commit cebb5aa

Please sign in to comment.