Skip to content

chore: correct typo in ADD_TO_PLAYLIST API endpoint URL #1110

Open
Pcmhacker-piro wants to merge 2 commits into
SB2318:mainfrom
Pcmhacker-piro:fix/playlist-api-typo-1001
Open

chore: correct typo in ADD_TO_PLAYLIST API endpoint URL #1110
Pcmhacker-piro wants to merge 2 commits into
SB2318:mainfrom
Pcmhacker-piro:fix/playlist-api-typo-1001

Conversation

@Pcmhacker-piro
Copy link
Copy Markdown

@Pcmhacker-piro Pcmhacker-piro commented Jun 5, 2026

Closes #1001

#### PR Description                                                                                                                                                                    
This PR resolves the 404 error encountered at runtime when adding a podcast to a playlist. The `ADD_TO_PLAYLIST` constant in `APIUtils.ts` had a typo where the URL path was defined as

add-podcast-form-playlist (using "form" instead of "to"). This has been corrected to add-podcast-to-playlist, which correctly matches the backend endpoint. All frontend test suites,
lints, and type-checks compile and pass successfully.

#### Type of Change                                                                                                                                                                    
- [x] Bug fix (change which fixes an issue)                                                                                                                                            
- [ ] New feature (change which adds functionality)                                                                                                                                    
- [ ] Documentation update                                                                                                                                                             
                                                                                                                                                                                       
#### Select your work-area                                                                                                                                                             
- [x] Frontend                                                                                                                                                                         
- [ ] Backend                                                                                                                                                                          
- [ ] Documentation                                                                                                                                                                    
- [ ] Others                                                                                                                                                                           
                                                                                                                                                                                       
#### Related Issue                                                                                                                                                                     
https://github.com/SB2318/UltimateHealth/issues/1001                                                                                                                                   
                                                                                                                                                                                       
#### Add your Work Example                                                                                                                                                             
📷 *N/A (This is a backend endpoint URL typo fix)*                                                                                                                                     
                                                                                                                                                                                       
#### Fixes (mention the issue number which this fixes)                                                                                                                                 
Closes #1001                                                                                                                                                                           
                                                                                                                                                                                       
#### Checklist                                                                                                                                                                         
- [x] I have updated my branch and synced it with the project's 'develop' branch before making this PR.                                                                                
- [x] I have optimized the file changes.                                                                                                                                               
- [x] I have added a snapshot of my work example.                                                                                                                                      
- [x] I have made a PR to the project's develop branch.                                                                                                                                
                                                                                                                                                                                       
#### Undertaking                                                                                                                                                                       
- [x] My code follows the style guidelines of this project.                                                                                                                            
- [x] I have performed a self-review of my code.                                                                                                                                       
- [x] I have commented my code, particularly in hard-to-understand areas.                                                                                                              
- [x] I have made corresponding changes to the documentation.                                                                                                                          
- [x] I have checked for plagiarism and assure its authenticity.                                                                                                                       
- [x] I have read and followed the code of conduct for this repository. I understand that violation of this undertaking may have legal consequences.                                   

Sources:
▸ docs.diagho.com · https://docs.diagho.com/development/workflow/

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

Thank you @, for creating the PR and contributing to our UltimateHealth project 💗.
Our team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@Pcmhacker-piro Pcmhacker-piro changed the title fix: correct typo in ADD_TO_PLAYLIST API endpoint URL chore: correct typo in ADD_TO_PLAYLIST API endpoint URL Jun 5, 2026
@Pcmhacker-piro
Copy link
Copy Markdown
Author

heyy @SB2318
i fixed the assign issue so pls check it

Copy link
Copy Markdown
Owner

@SB2318 SB2318 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Major Concern: Scope Creep

  • Yarn → pnpm migration
  • CI/CD workflow modifications
  • Removal of multiple components, hooks, and utilities
  • Export structure refactoring
  • Styling-related file deletions

These changes significantly increase review complexity and risk. Please split the feature implementation from the refactor/migration work into separate PRs.

The feature itself looks good; the primary concern is the amount of unrelated changes included in the same PR.

@Pcmhacker-piro Pcmhacker-piro force-pushed the fix/playlist-api-typo-1001 branch 2 times, most recently from d9c869c to f822f96 Compare June 5, 2026 09:15
@Pcmhacker-piro Pcmhacker-piro force-pushed the fix/playlist-api-typo-1001 branch 2 times, most recently from d25c9c0 to 6046fe3 Compare June 5, 2026 13:15
@Pcmhacker-piro
Copy link
Copy Markdown
Author

heyy @SB2318
i fixed the assign issue so pls check this

@Pcmhacker-piro Pcmhacker-piro force-pushed the fix/playlist-api-typo-1001 branch from 6046fe3 to bd0d0bf Compare June 5, 2026 14:13
@Pcmhacker-piro Pcmhacker-piro force-pushed the fix/playlist-api-typo-1001 branch from bd0d0bf to 2aca720 Compare June 5, 2026 15:47
@Pcmhacker-piro
Copy link
Copy Markdown
Author

heyy @SB2318
i fixed the issue so pls check this

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

### 🐛 Typo in Playlist API Endpoint URL Causes 404 Error at Runtime

2 participants