mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-22 18:17:39 +08:00
Error codes are underscore again
This commit is contained in:
parent
a1e9c44fe5
commit
b0c33ed6d2
@ -155,10 +155,7 @@ macro_rules! make_error_codes {
|
||||
|
||||
/// return the doc url associated with the error
|
||||
fn url(&self) -> String {
|
||||
format!(
|
||||
"https://docs.meilisearch.com/errors#{}",
|
||||
self.name().to_case(convert_case::Case::Kebab)
|
||||
)
|
||||
format!("https://docs.meilisearch.com/errors#{}", self.name())
|
||||
}
|
||||
}
|
||||
pub mod deserr_codes {
|
||||
|
Loading…
Reference in New Issue
Block a user