summaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2023-03-06 10:33:13 +0800
committersigoden <sigoden@gmail.com>2023-03-06 10:34:07 +0800
commitffa444399fc6699aaf7e0a19086411a7010d9392 (patch)
tree686e8ffec96b1076a4ac72a7adbf91c3800400e8 /src/config.rs
parentf29ca574468bd9adcc492cae9d77c43a93abb8b5 (diff)
downloadaichat-ffa444399fc6699aaf7e0a19086411a7010d9392.tar.gz
chore: release v0.4.0
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.rs b/src/config.rs
index c3d338c..d841fba 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -267,7 +267,7 @@ impl Config {
match key {
"api_key" => {
if unset {
- return Ok("Not allowd".into());
+ return Ok("Not allowed".into());
} else {
self.api_key = value.to_string();
}