chore: update logs
This commit is contained in:
parent
51020b8f03
commit
632fbc6a7d
|
|
@ -171,7 +171,7 @@ where
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
#[instrument(level = "trace", skip(self, params), oid = %params.oid, err)]
|
#[instrument(level = "trace", skip(self, params), oid = %params.oid, ty = %params.collab_type, err)]
|
||||||
async fn insert_or_update_collab_with_transaction(
|
async fn insert_or_update_collab_with_transaction(
|
||||||
&self,
|
&self,
|
||||||
workspace_id: &str,
|
workspace_id: &str,
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@ use database::user::{create_user, is_user_exist};
|
||||||
use database_entity::dto::AFRole;
|
use database_entity::dto::AFRole;
|
||||||
use sqlx::types::uuid;
|
use sqlx::types::uuid;
|
||||||
use std::ops::DerefMut;
|
use std::ops::DerefMut;
|
||||||
use tracing::{event, instrument};
|
use tracing::{event, instrument, trace};
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
use workspace_template::document::get_started::GetStartedDocumentTemplate;
|
use workspace_template::document::get_started::GetStartedDocumentTemplate;
|
||||||
|
|
||||||
|
|
@ -64,6 +64,8 @@ pub async fn verify_token(access_token: &str, state: &AppState) -> Result<bool,
|
||||||
&state.collab_access_control_storage,
|
&state.collab_access_control_storage,
|
||||||
)
|
)
|
||||||
.await?;
|
.await?;
|
||||||
|
} else {
|
||||||
|
trace!("user already exists:{},{}", user.id, user.email);
|
||||||
}
|
}
|
||||||
txn
|
txn
|
||||||
.commit()
|
.commit()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue