1
0
mirror of https://github.com/bitwarden/server synced 2026-03-01 02:41:33 +00:00

[PM-26405] Fix cipher favorite info being saved incorrectly on import (#6776)

This commit is contained in:
Mike Amirault
2026-01-22 20:11:56 -05:00
committed by GitHub
parent 415821f173
commit 0cc72127d7
2 changed files with 38 additions and 1 deletions

View File

@@ -74,7 +74,7 @@ public class ImportCiphersCommand : IImportCiphersCommand
if (cipher.UserId.HasValue && cipher.Favorite)
{
cipher.Favorites = $"{{\"{cipher.UserId.ToString().ToUpperInvariant()}\":\"true\"}}";
cipher.Favorites = $"{{\"{cipher.UserId.ToString().ToUpperInvariant()}\":true}}";
}
}