fix type issue

This commit is contained in:
Bilal Godil 2026-02-12 11:28:59 -08:00
parent afa76be8cf
commit a509be3f61

View File

@ -116,7 +116,7 @@ const UserActivityEventType = {
userId: yupString().uuid().defined(),
// old events of this type may not have an isAnonymous field, so we default to false
isAnonymous: yupBoolean().defined().default(false),
teamId: yupString().optional().default(""),
teamId: yupString().optional(),
}),
inherits: [ProjectActivityEventType],
} as const satisfies SystemEventTypeBase;