fix: allowing date created to be null
This commit is contained in:
@ -104,7 +104,7 @@ const contactValidator = strictObject({
|
|||||||
|
|
||||||
const eventValidator = strictObject({
|
const eventValidator = strictObject({
|
||||||
ID: pipe(string(), uuid()),
|
ID: pipe(string(), uuid()),
|
||||||
CreatedAt: pipe(string()),
|
CreatedAt: nullable(pipe(string())),
|
||||||
Name: string(),
|
Name: string(),
|
||||||
StartDateTime: nullable(pipe(string())),
|
StartDateTime: nullable(pipe(string())),
|
||||||
EndDateTime: nullable(pipe(string())),
|
EndDateTime: nullable(pipe(string())),
|
||||||
|
Reference in New Issue
Block a user