Skip to content

Commit 7b39a4f

Browse files
authored
Merging pull request #18116
1 parent 763c1d2 commit 7b39a4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/microsoft_outlook_calendar/actions/create-calendar-event/create-calendar-event.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default {
7373
async run({ $ }) {
7474
//RegExp to check time strings(yyyy-MM-ddThh:mm:ss)
7575
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)) {
76+
if (!re.test(this.start) || !re.test(this.end)) {
7777
throw new Error("Please provide both start and end props in 'yyyy-MM-ddThh:mm:ss'");
7878
}
7979
const data = {

0 commit comments

Comments
 (0)