1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 16:42:50 -05:00

rename notifications api endpoint to send

This commit is contained in:
Kyle Spearrin
2018-08-24 20:31:17 -04:00
parent 816bf1546e
commit 5ecd45abd6
2 changed files with 5 additions and 5 deletions

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, "notifications", request);
await SendAsync(HttpMethod.Post, "send", request);
}
private string GetContextIdentifier(bool excludeCurrentContext)