Email Sorter Beta
Ich habe soweit automatisiert the Emails sortieren aber ich muss noch schauen was es fur bugs es gibt wenn die app online ist deswegen wurde ich mit diesen Commit die website veroffentlichen obwohjl es sein konnte das es noch nicht fertig ist und verkaufs bereit
This commit is contained in:
13
server/node_modules/stripe/cjs/StripeResource.js
generated
vendored
13
server/node_modules/stripe/cjs/StripeResource.js
generated
vendored
@@ -79,6 +79,7 @@ StripeResource.prototype = {
|
||||
return parts.join('/').replace(/\/{2,}/g, '/');
|
||||
},
|
||||
_getRequestOpts(requestArgs, spec, overrideData) {
|
||||
var _a;
|
||||
// Extract spec values with defaults.
|
||||
const requestMethod = (spec.method || 'GET').toUpperCase();
|
||||
const usage = spec.usage || [];
|
||||
@@ -122,14 +123,14 @@ StripeResource.prototype = {
|
||||
spec.validator(data, { headers });
|
||||
}
|
||||
const dataInQuery = spec.method === 'GET' || spec.method === 'DELETE';
|
||||
const bodyData = dataInQuery ? {} : data;
|
||||
const bodyData = dataInQuery ? null : data;
|
||||
const queryData = dataInQuery ? data : {};
|
||||
return {
|
||||
requestMethod,
|
||||
requestPath,
|
||||
bodyData,
|
||||
queryData,
|
||||
auth: options.auth,
|
||||
authenticator: (_a = options.authenticator) !== null && _a !== void 0 ? _a : null,
|
||||
headers,
|
||||
host: host !== null && host !== void 0 ? host : null,
|
||||
streaming,
|
||||
@@ -162,10 +163,14 @@ StripeResource.prototype = {
|
||||
const path = [
|
||||
opts.requestPath,
|
||||
emptyQuery ? '' : '?',
|
||||
(0, utils_js_1.stringifyRequestData)(opts.queryData),
|
||||
(0, utils_js_1.queryStringifyRequestData)(opts.queryData, (0, utils_js_1.getAPIMode)(opts.requestPath)),
|
||||
].join('');
|
||||
const { headers, settings } = opts;
|
||||
this._stripe._requestSender._request(opts.requestMethod, opts.host, path, opts.bodyData, opts.auth, { headers, settings, streaming: opts.streaming }, opts.usage, requestCallback, (_a = this.requestDataProcessor) === null || _a === void 0 ? void 0 : _a.bind(this));
|
||||
this._stripe._requestSender._request(opts.requestMethod, opts.host, path, opts.bodyData, opts.authenticator, {
|
||||
headers,
|
||||
settings,
|
||||
streaming: opts.streaming,
|
||||
}, opts.usage, requestCallback, (_a = this.requestDataProcessor) === null || _a === void 0 ? void 0 : _a.bind(this));
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user