Commit
Implement user pattern deletion in SamplePackHandler and update purchase query
Commit details
Commit notes
This commit enhances the DeleteSamplePack method in the SamplePackHandler by adding functionality to delete user-saved patterns associated with a sample pack. It also updates the purchase query to use 'buyer_id' instead of 'user_id' for better clarity and accuracy in tracking purchases. This improves data integrity and ensures proper cleanup of related records.
- Files changed
- 3
- Lines added
- +18
- Lines removed
- −291