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

+1 -1
View File
@@ -4,7 +4,7 @@ use axum::{
};
use serde_json::{Value, json};
pub fn err_resp(code: StatusCode, err_msg: String) -> Response<String> {
pub fn err_resp(code: StatusCode, err_msg: &str) -> Response<String> {
let payload = json!({
"status": "error",
"data": {