server: fixes bug
This commit is contained in:
+1
-1
@@ -210,7 +210,7 @@ class Cap extends EventEmitter {
|
||||
await this._waitForTokensList();
|
||||
|
||||
if (this.config.state.tokensList[key]) {
|
||||
if (conf && conf.keepToken && !this.config.noFSState) {
|
||||
if (conf && !conf.keepToken && !this.config.noFSState) {
|
||||
delete this.config.state.tokensList[key];
|
||||
|
||||
await fs.writeFile(
|
||||
|
||||
Reference in New Issue
Block a user