We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 763c1d2 commit 7b39a4fCopy full SHA for 7b39a4f
components/microsoft_outlook_calendar/actions/create-calendar-event/create-calendar-event.mjs
@@ -73,7 +73,7 @@ export default {
73
async run({ $ }) {
74
//RegExp to check time strings(yyyy-MM-ddThh:mm:ss)
75
const re = /^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d):(\d\d)$/;
76
- if (!re.test(this.start) || !re.test(this.start)) {
+ if (!re.test(this.start) || !re.test(this.end)) {
77
throw new Error("Please provide both start and end props in 'yyyy-MM-ddThh:mm:ss'");
78
}
79
const data = {
0 commit comments