mirror of
https://github.com/bitwarden/server.git
synced 2025-04-06 05:28:15 -05:00
ignore edit param
This commit is contained in:
parent
b039461ff4
commit
d9c67ffeff
@ -134,12 +134,12 @@ namespace Bit.Api.Controllers
|
||||
public async Task PostImport([FromBody]ImportRequestModel model)
|
||||
{
|
||||
var userId = _userService.GetProperUserId(User).Value;
|
||||
var folderCiphers = model.Folders.Select(f => f.ToFolder(userId)).ToList();
|
||||
var otherCiphers = model.Logins.Select(l => l.ToCipherDetails(userId)).ToList();
|
||||
var folders = model.Folders.Select(f => f.ToFolder(userId)).ToList();
|
||||
var ciphers = model.Logins.Select(l => l.ToCipherDetails(userId)).ToList();
|
||||
|
||||
await _cipherService.ImportCiphersAsync(
|
||||
folderCiphers,
|
||||
otherCiphers,
|
||||
folders,
|
||||
ciphers,
|
||||
model.FolderRelationships);
|
||||
}
|
||||
|
||||
|
@ -9,7 +9,8 @@
|
||||
@CreationDate DATETIME2(7),
|
||||
@RevisionDate DATETIME2(7),
|
||||
@FolderId UNIQUEIDENTIFIER,
|
||||
@Favorite BIT
|
||||
@Favorite BIT,
|
||||
@Edit BIT -- not used
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
|
@ -9,7 +9,8 @@
|
||||
@CreationDate DATETIME2(7),
|
||||
@RevisionDate DATETIME2(7),
|
||||
@FolderId UNIQUEIDENTIFIER,
|
||||
@Favorite BIT
|
||||
@Favorite BIT,
|
||||
@Edit BIT -- not used
|
||||
AS
|
||||
BEGIN
|
||||
SET NOCOUNT ON
|
||||
|
Loading…
x
Reference in New Issue
Block a user