Commit 6f1d3aa
committed
fix: handle YouTube URLs correctly in importResearchSources
YouTube URLs need to go in index 7 as [url] array, not index 2.
Also filters out sources without URLs to prevent batch failures.
Matched format from live HAR capture of Import+ button.1 parent f12e233 commit 6f1d3aa
1 file changed
+10
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
503 | 503 | | |
504 | 504 | | |
505 | 505 | | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | | - | |
514 | | - | |
515 | | - | |
516 | | - | |
517 | | - | |
518 | | - | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
519 | 516 | | |
520 | 517 | | |
521 | 518 | | |
| |||
0 commit comments