fix
This commit is contained in:
@@ -27,6 +27,9 @@ class Store {
|
||||
}
|
||||
public async update(record: Record<string, string>) {
|
||||
this.record = record;
|
||||
await this.save();
|
||||
}
|
||||
public async save() {
|
||||
await write(this.filename, JSON.stringify(this.record), "utf8");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user