Can get multiple profiles information

This commit is contained in:
2025-11-21 17:49:41 +01:00
parent b744265242
commit 934e6a4cc1
2 changed files with 33 additions and 2 deletions

View File

@@ -153,6 +153,10 @@ async fn main() -> std::io::Result<()> {
"/api/matrix/profile/{user_id}",
web::get().to(matrix_profile_controller::get_profile),
)
.route(
"/api/matrix/profile/get_multiple",
web::post().to(matrix_profile_controller::get_multiple),
)
})
.workers(4)
.bind(&AppConfig::get().listen_address)?