Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

Comments

feat: add cid field to Video struct#1461

Open
owwkmidream wants to merge 1 commit intobiliup:masterfrom
owwkmidream:feat/add-cid-field
Open

feat: add cid field to Video struct#1461
owwkmidream wants to merge 1 commit intobiliup:masterfrom
owwkmidream:feat/add-cid-field

Conversation

@owwkmidream
Copy link

@owwkmidream owwkmidream commented Sep 16, 2025

Summary

  • Add cid field to Video struct with #[serde(skip)] annotation
  • Initialize cid to 0 in Video::new() constructor
  • Set cid to self.bucket.biz_id in Upos::complete() method

Description

This PR adds a cid (content ID) field to the Video struct to track the business ID associated with uploaded videos. The field is excluded from serialization using #[serde(skip)] and is properly initialized in both the constructor and during upload completion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant