mark_uploaded

Function mark_uploaded 

Source
pub(crate) async fn mark_uploaded(pool: &PgPool, id: i64) -> Result<(), Error>
Expand description

Marks a stream as successfully uploaded.

Sets upload_status = 'uploaded' and records the current timestamp in uploaded_at. Called by the upload processor after a successful Rdio API response.

ยงErrors

Returns sqlx::Error on query failure.