Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
applyManualStandardProps(rawProps) {
let superSuccess = EventSource.prototype.applyManualStandardProps.apply(this, arguments)
let googleCalendarId = rawProps.googleCalendarId
if (googleCalendarId == null && rawProps.url) {
googleCalendarId = parseGoogleCalendarId(rawProps.url)
}
if (googleCalendarId != null) {
this.googleCalendarId = googleCalendarId
return superSuccess
}
return false
}