Fix event-data calls.
This commit is contained in:
1 parent
9180a7008b
commit
2683ff278a
2 files changed
+3
-2
No files matched your search
@@ -10,7 +10,7 @@ export interface EventDataFieldsRequestQuery {
|
||||
websiteId: string;
|
||||
startAt: string;
|
||||
endAt: string;
|
||||
event: string;
|
||||
event?: string;
|
||||
}
|
||||
|
||||
const schema = {
|
||||
@@ -18,7 +18,7 @@ const schema = {
|
||||
websiteId: yup.string().uuid().required(),
|
||||
startAt: yup.number().integer().required(),
|
||||
endAt: yup.number().integer().moreThan(yup.ref('startAt')).required(),
|
||||
event: yup.string().required(),
|
||||
event: yup.string(),
|
||||
}),
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user