Skip to content

Commit

Permalink
feat: use nsfw_info for deciding whether to move the video
Browse files Browse the repository at this point in the history
  • Loading branch information
tushar-saxena-yral committed Dec 12, 2024
1 parent b4b55bb commit 6ce0c91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/events/nsfw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,8 @@ pub async fn nsfw_job(

push_nsfw_data_bigquery(bigquery_client, nsfw_info, video_id.clone()).await?;

// TODO: use nsfw_info.is_nsfw
if true {
log::info!("nsfw info: {nsfw_info:?}");
if nsfw_info.is_nsfw {
let key = format!("{publisher_user_id}/{video_id}.mp4");
// move video to nsfw bucket in storj
// TODO: move this into a function
Expand Down

0 comments on commit 6ce0c91

Please sign in to comment.