mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-05-18 22:10:42 +00:00
fix: an error occurred when requesting the http doc api (#984)
This commit is contained in:
@@ -417,7 +417,7 @@ impl HttpServer {
|
||||
script_handler: self.script_handler.clone(),
|
||||
})
|
||||
.finish_api(&mut api)
|
||||
.layer(Extension(Arc::new(api)));
|
||||
.layer(Extension(api));
|
||||
|
||||
let mut router = Router::new().nest(&format!("/{HTTP_API_VERSION}"), sql_router);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user