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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user