@kiminix/tp-client 1.36.0 → 1.37.0
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.
|
@@ -104,7 +104,11 @@ var ReservationsUserAPIs = /** @class */ (function () {
|
|
|
104
104
|
return __awaiter(this, void 0, void 0, function () {
|
|
105
105
|
return __generator(this, function (_a) {
|
|
106
106
|
return [2 /*return*/, RequestUtils.send(function () {
|
|
107
|
-
return axios.patch(base + "/reservations/user/".concat(id, "/cancel"), {}, {
|
|
107
|
+
return axios.patch(base + "/reservations/user/".concat(id, "/cancel"), {}, {
|
|
108
|
+
headers: {
|
|
109
|
+
'Authorization': "".concat(token)
|
|
110
|
+
}
|
|
111
|
+
})
|
|
108
112
|
.then(function (response) { return response.data; });
|
|
109
113
|
})];
|
|
110
114
|
});
|