Skip to content

Commit d51bb97

Browse files
committed
Make user enviroment_atts optional
1 parent 535f190 commit d51bb97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/types/hg/user.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const userSchema = z.object({
2525
environment_name: z.string(),
2626
environment_id: z.coerce.number(),
2727
quests: questsSchema,
28-
enviroment_atts: environmentAttributesSchema,
28+
enviroment_atts: environmentAttributesSchema.optional(),
2929
viewing_atts: viewingAttributesSchema,
3030
});
3131

0 commit comments

Comments
 (0)