Skip to content

Commit e01e6fe

Browse files
committed
fix: allow inspectorConfig to be null
1 parent 2c30498 commit e01e6fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/models/MapView.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export const mapViewSchema = z.object({
177177
name: z.string(),
178178
config: mapViewConfigSchema,
179179
dataSourceViews: z.array(dataSourceViewSchema),
180-
inspectorConfig: inspectorConfigSchema.optional(),
180+
inspectorConfig: inspectorConfigSchema.nullish(),
181181
position: z.number(),
182182
mapId: z.string(),
183183
createdAt: z.date(),

0 commit comments

Comments
 (0)