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