gap-nodejs-sdk 1.0.307 → 1.0.308

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.
@@ -177,7 +177,7 @@ export default class Appointment extends Base {
177
177
  return __awaiter(this, void 0, void 0, function* () {
178
178
  const response = yield this.client.post({
179
179
  path: appointment.INITIALIZE_PAYMENT,
180
- query: data
180
+ data: data
181
181
  });
182
182
  return (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data;
183
183
  });
@@ -187,7 +187,7 @@ export default class Appointment extends Base {
187
187
  return __awaiter(this, void 0, void 0, function* () {
188
188
  const response = yield this.client.post({
189
189
  path: appointment.CREATE_STRIPE_PAYMENT_METHOD,
190
- query: data
190
+ data: data
191
191
  });
192
192
  return (_a = response === null || response === void 0 ? void 0 : response.result) === null || _a === void 0 ? void 0 : _a.data;
193
193
  });