Fix decoding string
This commit is contained in:
parent
f34b4f2cb3
commit
d33f37473f
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ export const WRITE_MSG_ID = (new_id: string) => {
|
||||||
|
|
||||||
|
|
||||||
export const LOAD_USED_QUOTES = (): string[] => {
|
export const LOAD_USED_QUOTES = (): string[] => {
|
||||||
return JSON.parse(fs.readFileSync(`./${DB_NAME}`, `utf`));
|
return JSON.parse(fs.readFileSync(`./${DB_NAME}`, `utf8`));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue