fix: trace video default mode changed from 'debug' to 'normal'
This commit is contained in:
@@ -261,7 +261,7 @@ async fn trace_video(
|
|||||||
) -> Result<impl IntoResponse, StatusCode> {
|
) -> Result<impl IntoResponse, StatusCode> {
|
||||||
use axum::http::header;
|
use axum::http::header;
|
||||||
|
|
||||||
let mode = params.get("mode").map(|s| s.as_str()).unwrap_or("debug");
|
let mode = params.get("mode").map(|s| s.as_str()).unwrap_or("normal");
|
||||||
|
|
||||||
let videos_table = schema::table_name("videos");
|
let videos_table = schema::table_name("videos");
|
||||||
let row: Option<(String, f64, i32, i32)> = sqlx::query_as(&format!(
|
let row: Option<(String, f64, i32, i32)> = sqlx::query_as(&format!(
|
||||||
|
|||||||
Reference in New Issue
Block a user