From d9f891844a11ac1f8755d25e8a171df29775bdc9 Mon Sep 17 00:00:00 2001 From: Todd Wilson Date: Fri, 15 Dec 2017 13:31:04 -0700 Subject: [PATCH 1/2] Price field is a label --- docs/examples/feed-example.json | 4 ++-- docs/index.html | 8 ++++---- docs/m2l.raml | 10 +++++----- server/controllers/donationController.js | 5 ++--- server/controllers/listingController.js | 6 +++--- 5 files changed, 16 insertions(+), 17 deletions(-) diff --git a/docs/examples/feed-example.json b/docs/examples/feed-example.json index 9297461..c3114e4 100644 --- a/docs/examples/feed-example.json +++ b/docs/examples/feed-example.json @@ -44,7 +44,7 @@ "vendorId" : 47363942276, "handle" : "t-shirt", "lastUpdatedAt" : "2017-08-10T17:15:05.589Z", - "price" : 25.00 + "price" : "$25.00" }, { "_id" : "donation1", @@ -57,7 +57,7 @@ "vendorId" : 47361943276, "handle" : "donation-1", "lastUpdatedAt" : "2017-08-10T17:15:05.589Z", - "price" : 25.00 + "price" : "Donation" }, { "_id" : "event2", diff --git a/docs/index.html b/docs/index.html index 398362a..3e407b2 100644 --- a/docs/index.html +++ b/docs/index.html @@ -212,7 +212,7 @@ "vendorId" : 47363942276, "handle" : "t-shirt", "lastUpdatedAt" : "2017-08-10T17:15:05.589Z", - "price" : 25.00 + "price" : "$25.00" }, { "_id" : "donation1", @@ -225,7 +225,7 @@ "vendorId" : 47361943276, "handle" : "donation-1", "lastUpdatedAt" : "2017-08-10T17:15:05.589Z", - "price" : 25.00 + "price" : "Donation" }, { "_id" : "event2", @@ -264,7 +264,7 @@ "createdAt": "2016-09-10T19:00:00+00:00", "__v": 0 } -]

/webhooks/eventbrite

POST an event.created webhook from Eventbrite. Eventbrite docs Configure here

post

/webhooks/eventbrite

POST an event.created webhook from Eventbrite. Eventbrite docs Configure here

post

POST an event.updated webhook from Eventbrite. Eventbrite docs Configure here

post

POST an event.updated webhook from Eventbrite. Eventbrite docs Configure here

post