1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-23 11:45:38 +01:00

folder service bug

This commit is contained in:
Kyle Spearrin 2019-04-22 08:54:43 -04:00
parent ea5a411f30
commit efddb385d8

View File

@ -74,7 +74,7 @@ namespace Bit.Core.Services
{ {
var userId = await _userService.GetUserIdAsync(); var userId = await _userService.GetUserIdAsync();
var folders = await _storageService.GetAsync<Dictionary<string, FolderData>>( var folders = await _storageService.GetAsync<Dictionary<string, FolderData>>(
string.Format(Keys_CiphersFormat, userId)); string.Format(Keys_FoldersFormat, userId));
var response = folders?.Select(f => new Folder(f.Value)); var response = folders?.Select(f => new Folder(f.Value));
return response?.ToList() ?? new List<Folder>(); return response?.ToList() ?? new List<Folder>();
} }