feat(blog::api) get_identifier.rs

This commit is contained in:
lumither committed 2025-05-13 17:09:55 +08:00
1 parent dc2c294617
commit 2f6cafa543
11 files changed
+208 -38

No files matched your search

@@ -50,6 +50,6 @@ pub async fn handler(State(db_connection): State<PgPool>) -> Response<String> {
.await
{
Ok(res) => succ_resp(StatusCode::OK, PaginationResponse::from(res).into()),
Err(e) => err_resp(StatusCode::INTERNAL_SERVER_ERROR, e.to_string()),
Err(e) => err_resp(StatusCode::INTERNAL_SERVER_ERROR, &e.to_string()),
}
}