Commit 7a2c843
committed
fix: clear cached region when api_key changes via config set
Previously, switching API key with `mmx config set --key api_key`
kept the old cached region, causing requests to hit the wrong
endpoint. Now setting api_key deletes the cached region so it
gets auto-detected on the next command.
Bump version to 1.0.10.1 parent 2f7909c commit 7a2c843
2 files changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
88 | 94 | | |
89 | 95 | | |
90 | 96 | | |
| |||
0 commit comments