1
0
mirror of https://github.com/bitwarden/jslib synced 2025-12-24 04:04:38 +00:00

Get settings properly (I think)

This commit is contained in:
Robyn MacCallum
2021-11-17 16:38:12 -05:00
parent 4177ca33c3
commit e158c7dc06

View File

@@ -29,7 +29,11 @@ export class SettingsService implements SettingsServiceAbstraction {
// Helpers
private async getSettings(): Promise<any> {
await this.clearCache();
let settings = await this.stateService.getSettings();
if (settings == null) {
const userId = await this.stateService.getUserId();
}
return settings;
}
private async getSettingsKey(key: string): Promise<any> {