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:
parent
255855887b
commit
3a08ebda1f
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user