Commit 70f203d
committed
fix: resolve TS error in fal-audio, widen music regex and fal method routing
- Fix fal-audio.ts TS2339: use already-narrowed contentType variable
instead of re-accessing response.audio.contentType in ext derivation
- Widen ELEVENLABS_MUSIC_RE to match /v1/music and /v1/music/{subType}
(was restricted to generation|variation|remix|extend only)
- Default musicSubType to "music" when regex capture group is empty
- Add PUT method to fal queue requests route for cancel support1 parent 47e8a28 commit 70f203d
2 files changed
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 97 | + | |
| 98 | + | |
101 | 99 | | |
102 | 100 | | |
103 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
| |||
1645 | 1645 | | |
1646 | 1646 | | |
1647 | 1647 | | |
1648 | | - | |
| 1648 | + | |
1649 | 1649 | | |
1650 | 1650 | | |
1651 | 1651 | | |
| |||
1720 | 1720 | | |
1721 | 1721 | | |
1722 | 1722 | | |
1723 | | - | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
1724 | 1727 | | |
1725 | 1728 | | |
1726 | 1729 | | |
| |||
0 commit comments