refactor: rename HttpApiService.serve() to HttpApiService.run()
This commit is contained in:
+1
-1
@@ -71,5 +71,5 @@ async fn main(spawner: Spawner) -> ! {
|
||||
|
||||
#[embassy_executor::task]
|
||||
async fn http_api_serve_task(mut service: HttpApiService<'static, HttpApiProps>) {
|
||||
service.serve().await;
|
||||
service.run().await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user