Skip to content

Commit 7897cbe

Browse files
authored
Merge pull request #394 from bcc-code/feature/bcc-111-shorts-are-missing-parentid
Make sure we do have Episode ID
2 parents 43d64cc + 5abc7c9 commit 7897cbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workflows/export/shorts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ func createShortInPlatform(ctx workflow.Context, short *ShortsData, styledImage
284284
assetID := strconv.Itoa(int(assetResult.ID))
285285

286286
var episodeID string
287-
if short.EpisodeID == "" {
287+
if short.EpisodeID != "" {
288288
episodeID = short.EpisodeID
289289
} else {
290290
fmt.Printf("WARN: EpisodeID is empty for %s, %s\n", short.MBMetadata.ID, short.Label)

0 commit comments

Comments
 (0)