Skip to content

Commit 04381a0

Browse files
fix: ensure private preview on private sandbox (#179)
1 parent a9ec1a7 commit 04381a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Sandboxes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ function mapPrivacyForApi(privacy: SandboxPrivacy): {
397397
case "unlisted":
398398
return { mappedPrivacy: 1 }; // Keep as unlisted
399399
case "private":
400-
return { mappedPrivacy: 2 }; // Keep as private
400+
return { mappedPrivacy: 2, privatePreview: true }; // Keep as private
401401
case "public":
402402
return { mappedPrivacy: 1 }; // Map to unlisted
403403
case "public-hosts":

0 commit comments

Comments
 (0)