We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0927f39 commit 1d6c789Copy full SHA for 1d6c789
apps/codingcatdev/scripts/podcast-dev-to.js
@@ -33,6 +33,8 @@ for await (const file of g) {
33
fm?.slug &&
34
fm?.title &&
35
fm?.cover &&
36
+ fm?.spotify &&
37
+ fm?.youtube &&
38
fm?.published === 'published' &&
39
new Date(fm?.start) < new Date() &&
40
!fm?.devto
@@ -53,7 +55,7 @@ for await (const file of g) {
53
55
organization_id: '1009',
54
56
body_markdown: `Original: https://codingcat.dev/${TYPE}/${fm.slug}
57
{% youtube ${fm?.youtube} %}
- {% spotify spotify:episode:${fm?.spotify.split('/').at(-1).split('?').at(0)} %}
58
+ {% spotify spotify:episode:${fm?.spotify?.split('/')?.at(-1)?.split('?')?.at(0)} %}
59
${content}`
60
}
61
});
0 commit comments