mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
fix type issue
This commit is contained in:
parent
afa76be8cf
commit
a509be3f61
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user