Skip to content

Commit d38b29b

Browse files
author
hjen_adobe
committed
fix test error
1 parent 41c128b commit d38b29b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/spacecat-shared-utils/src/strategy-schema.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const strategy = z.object({
7979
description: z.string(),
8080
topic: z.string(),
8181
selectedPrompts: z.array(strategyPromptSelection).optional(),
82-
platform: z.string().optional(),
82+
platform: nonEmptyString.optional(),
8383
opportunities: z.array(strategyOpportunity),
8484
createdAt: z.string(), // ISO 8601 date string
8585
createdBy: z.string().optional(), // Email of strategy creator/owner

0 commit comments

Comments
 (0)