1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-22 12:15:36 +01: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 request = new PushNotificationData<T>(type, payload, contextId);
await SendAsync(HttpMethod.Post, "notification", request);
await SendAsync(HttpMethod.Post, "notifications", request);
}
private string GetContextIdentifier(bool excludeCurrentContext)