FIX: google calendar link for specific time event was incorrect

FIX: google calendar link for specific time event was incorrect

diff --git a/assets/javascripts/discourse/lib/google-calendar.js.es6 b/assets/javascripts/discourse/lib/google-calendar.js.es6
index 8ffad55..4ead2f1 100644
--- a/assets/javascripts/discourse/lib/google-calendar.js.es6
+++ b/assets/javascripts/discourse/lib/google-calendar.js.es6
@@ -10,12 +10,8 @@ export default EmberObject.extend({
   generateLink() {
     const title = encodeURIComponent(this.title);
     let dates = [this._formatDate(this.startsAt)];
-    if (this.endsAt) {
-      dates.push(this._formatDate(this.endsAt));
-      dates = `dates=${dates.join("/")}`;
-    } else {
-      dates = `date=${dates.join("")}`;
-    }
+    dates.push(this._formatDate(this.endsAt || this.startsAt));
+    dates = `dates=${dates.join("/")}`;
 
     return `https://www.google.com/calendar/event?action=TEMPLATE&text=${title}&${dates}`;
   },

GitHub sha: 76b15662