mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05:00
Added favorites to ciphers and exposed PUT favorite cipher API
This commit is contained in:
@ -9,6 +9,7 @@ namespace Bit.Core.Domains
|
||||
public Guid UserId { get; set; }
|
||||
public Guid? FolderId { get; set; }
|
||||
public Enums.CipherType Type { get; set; }
|
||||
public bool Favorite { get; set; }
|
||||
public string Data { get; set; }
|
||||
public DateTime CreationDate { get; internal set; } = DateTime.UtcNow;
|
||||
public DateTime RevisionDate { get; internal set; } = DateTime.UtcNow;
|
||||
|
@ -138,6 +138,7 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
-- Do not update [UserId]
|
||||
-- Do not update [FolderId]
|
||||
-- Do not update [Type]
|
||||
-- Do not update [Favorite]
|
||||
[Data] = TC.[Data],
|
||||
-- Do not update [CreationDate]
|
||||
[RevisionDate] = TC.[RevisionDate]
|
||||
|
Reference in New Issue
Block a user