mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-06-07 00:29:51 +08:00
fix: 默认时间戳视为 None
This commit is contained in:
@@ -164,6 +164,7 @@ pub async fn get_video_sources_details(
|
||||
if let Some(rule) = &item.rule {
|
||||
item.rule_display = Some(rule.to_string());
|
||||
}
|
||||
item.latest_row_at = item.latest_row_at.filter(|dt| dt.and_utc().timestamp() != 0);
|
||||
});
|
||||
}
|
||||
Ok(ApiResponse::ok(VideoSourcesDetailsResponse {
|
||||
|
||||
Reference in New Issue
Block a user