1
0
mirror of https://github.com/bitwarden/server synced 2025-12-20 02:03:46 +00:00

change email/password adjustments

This commit is contained in:
Kyle Spearrin
2017-04-17 14:53:07 -04:00
parent 184cf0c0df
commit e732996cd9
12 changed files with 98 additions and 19 deletions

View File

@@ -27,4 +27,18 @@ namespace Bit.Core.Models.Api
return existingFolder;
}
}
public class FolderWithIdRequestModel : FolderRequestModel
{
public Guid Id { get; set; }
public new Folder ToFolder(Guid userId)
{
return ToFolder(new Folder
{
UserId = userId,
Id = Id
});
}
}
}