Fix comment

This commit is contained in:
Mubelotix 2025-06-19 11:16:07 +02:00
parent 7c1a9113f9
commit 00eb258a53
No known key found for this signature in database
GPG key ID: 89F391DBCC8CE7F0

View file

@ -158,7 +158,7 @@ impl AuthController {
self.store.delete_all_keys()
}
/// Delete all the keys in the DB.
/// Insert a key directly into the store.
pub fn raw_insert_key(&mut self, key: Key) -> Result<()> {
self.store.put_api_key(key)?;
Ok(())
@ -353,6 +353,7 @@ fn generate_default_keys(store: &HeedAuthStore) -> Result<()> {
store.put_api_key(Key::default_chat())?;
store.put_api_key(Key::default_admin())?;
store.put_api_key(Key::default_search())?;
store.put_api_key(Key::default_management())?;
Ok(())
}