1
0
mirror of https://github.com/bitwarden/server synced 2025-12-12 06:13:43 +00:00

cleanup push sharp implementation for new model

This commit is contained in:
Kyle Spearrin
2017-05-30 00:02:20 -04:00
parent c4dee589cc
commit 72ac5c9f80
3 changed files with 84 additions and 74 deletions

View File

@@ -6,6 +6,7 @@ using Bit.Core.Enums;
using Newtonsoft.Json;
using System.Collections.Generic;
using Microsoft.AspNetCore.Http;
using Bit.Core.Models;
namespace Bit.Core.Services
{
@@ -158,26 +159,5 @@ namespace Bit.Core.Services
{ "payload", JsonConvert.SerializeObject(payload) }
}, tag);
}
private class SyncCipherPushNotification
{
public Guid Id { get; set; }
public Guid? UserId { get; set; }
public Guid? OrganizationId { get; set; }
public DateTime RevisionDate { get; set; }
}
private class SyncFolderPushNotification
{
public Guid Id { get; set; }
public Guid UserId { get; set; }
public DateTime RevisionDate { get; set; }
}
private class SyncUserPushNotification
{
public Guid UserId { get; set; }
public DateTime Date { get; set; }
}
}
}