Fix user context on importing into individual vaults (#5465)
Pass in the current userId instead of trying to infer it from the folders or ciphers passed into the ImportCiphersCommand
Kudos go to @MJebran who pointed this out on https://github.com/bitwarden/server/pull/4896
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
@ -54,12 +54,11 @@ public class ImportCiphersCommand : IImportCiphersCommand
@@ -54,12 +54,11 @@ public class ImportCiphersCommand : IImportCiphersCommand
//Need to keep the list order to create the relationships
@ -109,10 +108,7 @@ public class ImportCiphersCommand : IImportCiphersCommand
@@ -109,10 +108,7 @@ public class ImportCiphersCommand : IImportCiphersCommand