mirror of
https://github.com/bitwarden/server
synced 2026-01-06 10:34:01 +00:00
[PM-2682] Fix v0 attachments migration on share cipher with org (#3051)
* PM-2682 Fix v0 attachments migration on share cipher with org * PM-2682 Fix format * PM-2682 Fix tests recursion * Update src/Core/Vault/Models/Data/CipherAttachment.cs Co-authored-by: Matt Gibson <mgibson@bitwarden.com> --------- Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
This commit is contained in:
committed by
GitHub
parent
a61290a3c8
commit
10782d55f3
@@ -31,5 +31,10 @@ public class CipherAttachment
|
||||
// This is stored alongside metadata as an identifier. It does not need repeating in serialization
|
||||
[JsonIgnore]
|
||||
public string AttachmentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Temporary metadata used to store original metadata on migrations from a user-owned attachment to an organization-owned one
|
||||
/// </summary>
|
||||
public MetaData TempMetadata { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user