@pipedream/google_calendar 0.5.8 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -7,7 +7,7 @@ export default {
|
|
|
7
7
|
key: "google_calendar-create-event",
|
|
8
8
|
name: "Create Event",
|
|
9
9
|
description: "Create an event in a Google Calendar. [See the documentation](https://developers.google.com/calendar/api/v3/reference/events/insert)",
|
|
10
|
-
version: "0.2.
|
|
10
|
+
version: "0.2.6",
|
|
11
11
|
type: "action",
|
|
12
12
|
props: {
|
|
13
13
|
googleCalendar,
|
|
@@ -144,14 +144,24 @@ export default {
|
|
|
144
144
|
summary: this.summary,
|
|
145
145
|
location: this.location,
|
|
146
146
|
description: this.description,
|
|
147
|
-
start:
|
|
148
|
-
date: this.eventStartDate
|
|
147
|
+
start: {
|
|
148
|
+
date: this.eventStartDate?.length <= 10
|
|
149
|
+
? this.eventStartDate
|
|
150
|
+
: undefined,
|
|
151
|
+
dateTime: this.eventStartDate?.length > 10
|
|
152
|
+
? this.eventStartDate
|
|
153
|
+
: undefined,
|
|
149
154
|
timeZone,
|
|
150
|
-
}
|
|
151
|
-
end:
|
|
152
|
-
date: this.eventEndDate
|
|
155
|
+
},
|
|
156
|
+
end: {
|
|
157
|
+
date: this.eventEndDate?.length <= 10
|
|
158
|
+
? this.eventEndDate
|
|
159
|
+
: undefined,
|
|
160
|
+
dateTime: this.eventEndDate?.length > 10
|
|
161
|
+
? this.eventEndDate
|
|
162
|
+
: undefined,
|
|
153
163
|
timeZone,
|
|
154
|
-
}
|
|
164
|
+
},
|
|
155
165
|
recurrence,
|
|
156
166
|
attendees,
|
|
157
167
|
colorId: this.colorId,
|