Skip to content
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.

Commit

Permalink
fix(profiles): validate data in SettingRepository#fill (#536)
Browse files Browse the repository at this point in the history
  • Loading branch information
faustbrian committed Jul 17, 2020
1 parent 89e4717 commit 65332ff
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@ export class SettingRepository {
}

public fill(entries: object): void {
this.#storage.fill(entries);
for (const [key, value] of Object.entries(entries)) {
this.set(key, value);
}
}

public has(key: string): boolean {
Expand Down

0 comments on commit 65332ff

Please sign in to comment.