From 5576028c7ae5e158befa99b1adc299c98ee31375 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 15 Aug 2017 16:20:46 -0400 Subject: [PATCH] push apis are only for not self hosted instances --- src/Api/Controllers/PushController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Api/Controllers/PushController.cs b/src/Api/Controllers/PushController.cs index fc759fd4fc..5143d3f4a1 100644 --- a/src/Api/Controllers/PushController.cs +++ b/src/Api/Controllers/PushController.cs @@ -7,11 +7,13 @@ using Bit.Core.Models.Api; using System.Threading.Tasks; using System.Linq; using Microsoft.AspNetCore.Hosting; +using Bit.Api.Utilities; namespace Bit.Api.Controllers { [Route("push")] [Authorize("Push")] + [SelfHosted(NotSelfHostedOnly = true)] public class PushController : Controller { private readonly IPushRegistrationService _pushRegistrationService;