rejoiner 2.12.0 → 2.12.1
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.
|
@@ -31,7 +31,7 @@ const customerEndpoint = (client) => {
|
|
|
31
31
|
case 1:
|
|
32
32
|
return putEmail(`customers/${data.email}/`, data)
|
|
33
33
|
case 2:
|
|
34
|
-
return postEmail('
|
|
34
|
+
return postEmail('customers/', data)
|
|
35
35
|
default:
|
|
36
36
|
throw new Error(`Invalid API version: ${client.apiVersion}`)
|
|
37
37
|
}
|
package/lib/endpoints/ping.js
CHANGED
|
@@ -21,7 +21,7 @@ const sessionsEndpoint = (client) => {
|
|
|
21
21
|
if (fulfillmentDate) payload.fulfillment_date = dateString(fulfillmentDate)
|
|
22
22
|
if (deliveryDate) payload.delivery_date = dateString(deliveryDate)
|
|
23
23
|
|
|
24
|
-
return dispatchReturnData('put')(
|
|
24
|
+
return dispatchReturnData('put')(`${endpoint}/${sessionId}/`, payload)
|
|
25
25
|
},
|
|
26
26
|
}
|
|
27
27
|
}
|
package/package.json
CHANGED