From fb22e6eeb25a44d41907563b5ab053cd15189132 Mon Sep 17 00:00:00 2001
From: Drew Regitsky
Date: Tue, 24 Nov 2015 00:30:29 -0800
Subject: [PATCH] fix(examples): change quickschedule plugin backend URL to
updated version
---
.../N1-Quick-Schedule/docs/availability-draft-extension.coffee | 2 +-
.../N1-Quick-Schedule/docs/availability-draft-extension.html | 2 +-
examples/N1-Quick-Schedule/docs/main.coffee | 2 +-
.../N1-Quick-Schedule/lib/availability-draft-extension.cjsx | 2 +-
examples/N1-Quick-Schedule/lib/main.cjsx | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/N1-Quick-Schedule/docs/availability-draft-extension.coffee b/examples/N1-Quick-Schedule/docs/availability-draft-extension.coffee
index f74dce95b..f86c4780d 100644
--- a/examples/N1-Quick-Schedule/docs/availability-draft-extension.coffee
+++ b/examples/N1-Quick-Schedule/docs/availability-draft-extension.coffee
@@ -19,7 +19,7 @@ class AvailabilityDraftExtension extends DraftStoreExtension
data.attendees = participants.map (p) ->
name: p.name, email: p.email, isSender: p.isMe()
console.log "Sending request!\n",JSON.stringify data
- serverUrl = "https://sendavail.herokuapp.com/register-events"
+ serverUrl = "https://quickschedule.herokuapp.com/register-events"
request.post {url: serverUrl, body: JSON.stringify(data)}, (error, resp, data) =>
console.log(error,resp,data)
diff --git a/examples/N1-Quick-Schedule/docs/availability-draft-extension.html b/examples/N1-Quick-Schedule/docs/availability-draft-extension.html
index e0cda6b50..0a0114538 100644
--- a/examples/N1-Quick-Schedule/docs/availability-draft-extension.html
+++ b/examples/N1-Quick-Schedule/docs/availability-draft-extension.html
@@ -91,7 +91,7 @@ method. Here, we’re registering the events before we send the draft.
data.attendees = participants.map (p) ->
name: p.name, email: p.email, isSender: c.isMe()
console.log "Sending request!\n",JSON.stringify data
- serverUrl = "https://sendavail.herokuapp.com/register-events"
+ serverUrl = "https://quickschedule.herokuapp.com/register-events"
request.post {url: serverUrl, body: JSON.stringify(data)}, (error, resp, data) =>
console.log(error,resp,data)
diff --git a/examples/N1-Quick-Schedule/docs/main.coffee b/examples/N1-Quick-Schedule/docs/main.coffee
index 36f44b639..eb5fbec02 100644
--- a/examples/N1-Quick-Schedule/docs/main.coffee
+++ b/examples/N1-Quick-Schedule/docs/main.coffee
@@ -209,7 +209,7 @@ module.exports =
# The URL points to the event page with this time slot selected
eventUrl = url.format({
protocol: "https"
- host: "sendavail.herokuapp.com"
+ host: "quickschedule.herokuapp.com"
pathname: "/event/#{e.serverKey}"
})
times.appendNode("div")
diff --git a/examples/N1-Quick-Schedule/lib/availability-draft-extension.cjsx b/examples/N1-Quick-Schedule/lib/availability-draft-extension.cjsx
index f74dce95b..f86c4780d 100644
--- a/examples/N1-Quick-Schedule/lib/availability-draft-extension.cjsx
+++ b/examples/N1-Quick-Schedule/lib/availability-draft-extension.cjsx
@@ -19,7 +19,7 @@ class AvailabilityDraftExtension extends DraftStoreExtension
data.attendees = participants.map (p) ->
name: p.name, email: p.email, isSender: p.isMe()
console.log "Sending request!\n",JSON.stringify data
- serverUrl = "https://sendavail.herokuapp.com/register-events"
+ serverUrl = "https://quickschedule.herokuapp.com/register-events"
request.post {url: serverUrl, body: JSON.stringify(data)}, (error, resp, data) =>
console.log(error,resp,data)
diff --git a/examples/N1-Quick-Schedule/lib/main.cjsx b/examples/N1-Quick-Schedule/lib/main.cjsx
index 6937dd5ad..df17e93fa 100644
--- a/examples/N1-Quick-Schedule/lib/main.cjsx
+++ b/examples/N1-Quick-Schedule/lib/main.cjsx
@@ -209,7 +209,7 @@ module.exports =
# The URL points to the event page with this time slot selected
eventUrl = url.format({
protocol: "https"
- host: "sendavail.herokuapp.com"
+ host: "quickschedule.herokuapp.com"
pathname: "/event/#{e.serverKey}"
})
times.appendNode("div")