Commit 1e61ae2
Refactor Spotify selection feature branch
- Remove legacy `duration` fallback from API payload and unit tests to adhere to `duration_ms` naming convention.
- Refactor `spotifyCommandParams` parsing in `socketManager.ts` to utilize concise object destructuring.
- Clean up unused types and variables to simplify implementation.
Co-authored-by: arii <342438+arii@users.noreply.github.com>1 parent 7e498e7 commit 1e61ae2
3 files changed
Lines changed: 3 additions & 18 deletions
File tree
- app/api/spotify/playlists/[playlistId]/tracks
- tests/unit/app/api/spotify/playlists/[playlistId]/tracks
- utils
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | 107 | | |
109 | 108 | | |
110 | 109 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | 62 | | |
64 | 63 | | |
65 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
426 | 426 | | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | | - | |
441 | | - | |
442 | | - | |
| 429 | + | |
443 | 430 | | |
444 | | - | |
| 431 | + | |
445 | 432 | | |
446 | 433 | | |
447 | 434 | | |
| |||
0 commit comments