Skip to content

Commit

Permalink
Fix/organizer dir (#221)
Browse files Browse the repository at this point in the history
* add dir to organizer schema

* bump version. closes #214
  • Loading branch information
adamgibbons authored Aug 27, 2022
1 parent 08b5da7 commit 73c030f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ics",
"version": "2.39.0",
"version": "2.40.0",
"description": "iCal (ics) file generator",
"exports": {
"require": "./index.js",
Expand Down
3 changes: 2 additions & 1 deletion src/schema/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ const contactSchema = yup.object().shape({

const organizerSchema = yup.object().shape({
name: yup.string(),
email: yup.string().email()
email: yup.string().email(),
dir: yup.string()
}).noUnknown()

const alarmSchema = yup.object().shape({
Expand Down

0 comments on commit 73c030f

Please sign in to comment.