Do not leak the chat "workspace" term

This commit is contained in:
Kerollmops 2025-06-10 10:34:30 +02:00
parent 95d4775d4a
commit 605dea4f85
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
4 changed files with 7 additions and 7 deletions

View file

@ -48,7 +48,7 @@ async fn get_settings(
None => {
return Err(ResponseError::from_msg(
format!("Chat `{workspace_uid}` not found"),
Code::ChatWorkspaceNotFound,
Code::ChatNotFound,
))
}
};
@ -173,7 +173,7 @@ async fn reset_settings(
} else {
Err(ResponseError::from_msg(
format!("Chat `{workspace_uid}` not found"),
Code::ChatWorkspaceNotFound,
Code::ChatNotFound,
))
}
}