Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions apps/desktop/src-tauri/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use tracing::{instrument, trace};

use crate::web_api::{AuthedApiError, ManagerExt};

#[instrument]
#[instrument(skip(app))]
pub async fn upload_multipart_initiate(
app: &AppHandle,
video_id: &str,
Expand Down Expand Up @@ -46,7 +46,7 @@ pub async fn upload_multipart_initiate(
.map(|data| data.upload_id)
}

#[instrument(skip(upload_id))]
#[instrument(skip(app, upload_id))]
pub async fn upload_multipart_presign_part(
app: &AppHandle,
video_id: &str,
Expand Down Expand Up @@ -180,7 +180,7 @@ pub struct PresignedS3PutRequest {
pub meta: Option<S3VideoMeta>,
}

#[instrument(skip())]
#[instrument(skip(app))]
pub async fn upload_signed(
app: &AppHandle,
body: PresignedS3PutRequest,
Expand Down Expand Up @@ -218,7 +218,7 @@ pub async fn upload_signed(
.map(|data| data.presigned_put_data.url)
}

#[instrument]
#[instrument(skip(app))]
pub async fn desktop_video_progress(
app: &AppHandle,
video_id: &str,
Expand Down
Loading