Skip to content

Commit

Permalink
await added to friend request
Browse files Browse the repository at this point in the history
  • Loading branch information
m13v committed Aug 5, 2024
1 parent 2b05a7c commit 2472fd7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions screenpipe-server/src/core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async fn record_video(
frame_id.to_string(),
frame.text.clone(),
uid, // Pass the UID to the function
) {
).await {
error!("Failed to send screen data to friend wearable: {}", e);
} else {
debug!("Sent screen data to friend wearable for frame {}", frame_id);
Expand Down Expand Up @@ -361,7 +361,7 @@ async fn process_audio_result(
audio_chunk_id.to_string(),
transcription.clone(),
uid, // Pass the UID to the function
) {
).await {
error!("Failed to send data to friend wearable: {}", e);
} else {
debug!(
Expand All @@ -377,4 +377,4 @@ async fn process_audio_result(
result.input.device, e
),
}
}
}

0 comments on commit 2472fd7

Please sign in to comment.