From 4f0c0e4fd63f4df2c21779ee08adceb375e5e037 Mon Sep 17 00:00:00 2001 From: FineArchs <133759614+FineArchs@users.noreply.github.com> Date: Thu, 19 Sep 2024 16:00:44 +0900 Subject: [PATCH] Update create.ts --- packages/backend/src/server/api/endpoints/flash/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/flash/create.ts b/packages/backend/src/server/api/endpoints/flash/create.ts index 64f13a577e35..0f70279d35bd 100644 --- a/packages/backend/src/server/api/endpoints/flash/create.ts +++ b/packages/backend/src/server/api/endpoints/flash/create.ts @@ -44,7 +44,7 @@ export const paramDef = { permissions: { type: 'array', items: { type: 'string', } }, - visibility: { type: 'string', enum: ['public', 'private'], default: 'public' }, + visibility: { type: 'string', enum: ['public', 'urlonly', 'private'], default: 'public' }, }, required: ['title', 'summary', 'script', 'permissions'], } as const;