mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 08:54:01 -05:00
[PR #7048] [MERGED] Fix empty string FolderId #12770
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/7048
Author: @BlackDex
Created: 4/1/2026
Status: ✅ Merged
Merged: 4/1/2026
Merged by: @dani-garcia
Base:
main← Head:fix-empty-string-folder📝 Commits (1)
390a073Fix empty string FolderId📊 Changes
4 files changed (+23 additions, -2 deletions)
View changed files
📝
src/api/core/accounts.rs(+2 -1)📝
src/api/core/ciphers.rs(+4 -1)📝
src/api/core/folders.rs(+2 -0)📝
src/util.rs(+15 -0)📄 Description
In newer versions of Bitwarden Clients instead of using
nullthe folder_id will be an empty string. This commit adds a special deserialize_with function to keep the same way of working code-wise.Fixes #6962
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.