1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-08 06:28:14 -05:00

fix notifications endpoint

This commit is contained in:
Kyle Spearrin 2018-08-21 14:40:43 -04:00
parent 255855887b
commit 3a08ebda1f

View File

@ -141,7 +141,7 @@ namespace Bit.Core.Services
{ {
var contextId = GetContextIdentifier(excludeCurrentContext); var contextId = GetContextIdentifier(excludeCurrentContext);
var request = new PushNotificationData<T>(type, payload, contextId); var request = new PushNotificationData<T>(type, payload, contextId);
await SendAsync(HttpMethod.Post, "notification", request); await SendAsync(HttpMethod.Post, "notifications", request);
} }
private string GetContextIdentifier(bool excludeCurrentContext) private string GetContextIdentifier(bool excludeCurrentContext)