Skip to content

Commit 8b7205a

Browse files
committed
fix(Vault): Only save the Cipher's tags that are not blank
1 parent ee0a1c6 commit 8b7205a

File tree

1 file changed

+1
-0
lines changed
  • common/src/commonMain/kotlin/com/artemchep/keyguard/provider/bitwarden/usecase

1 file changed

+1
-0
lines changed

common/src/commonMain/kotlin/com/artemchep/keyguard/provider/bitwarden/usecase/AddCipher.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ private suspend fun BitwardenCipher.Companion.of(
366366
}
367367

368368
val tags = request.tags
369+
.filter { it.isNotBlank() }
369370
.map { tag ->
370371
BitwardenCipher.Tag(
371372
name = tag,

0 commit comments

Comments
 (0)