Skip to content

Fix links and derived data not being removed correctly#322

Merged
ShaneIsrael merged 2 commits intodevelopfrom
shane/fix-links-and-derived-data-deletion
Aug 28, 2025
Merged

Fix links and derived data not being removed correctly#322
ShaneIsrael merged 2 commits intodevelopfrom
shane/fix-links-and-derived-data-deletion

Conversation

@ShaneIsrael
Copy link
Owner

This pull request focuses on improving file and path handling consistency in the video deletion logic on the server side. The main change is the adoption of the centralized PATHS configuration for file operations, which enhances maintainability and reduces the risk of path-related errors. Additionally, the code now logs successful file deletions for better traceability.

Server-side improvements to file deletion and path handling:

  • Refactored the delete_video function in api.py to use the PATHS configuration for constructing file and directory paths, ensuring consistent and reliable path handling across the application.
  • Enhanced logging by adding informational logs when files and directories are successfully deleted, and improved error logging for failed deletions.

Other changes:

  • Bumped the client package version from 1.2.28 to 1.2.29 in package.json.

@ShaneIsrael ShaneIsrael self-assigned this Aug 28, 2025
@ShaneIsrael ShaneIsrael merged commit 991a300 into develop Aug 28, 2025
@ShaneIsrael ShaneIsrael deleted the shane/fix-links-and-derived-data-deletion branch December 6, 2025 05:39
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