disable tracing macros

This commit is contained in:
2023-08-29 21:34:01 +02:00
parent 25a92d858b
commit 6ffab1de14
14 changed files with 162 additions and 162 deletions

View File

@@ -34,7 +34,7 @@ impl TryFrom<DbUserRow> for User {
}
impl User {
#[tracing::instrument]
//#[tracing::instrument]
pub async fn find_by_name(
pool: &sqlx::Pool<sqlx::Sqlite>,
name: &str,
@@ -51,7 +51,7 @@ impl User {
}
}
#[tracing::instrument]
//#[tracing::instrument]
pub async fn create(pool: &sqlx::Pool<sqlx::Sqlite>, user: NewUser<'_>) -> Result<Uuid, Error> {
let id = Uuid::new_v4();
let id_param = id.to_string();