@delopay/sdk 0.1.6 → 0.1.7
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2128,7 +2128,7 @@ var AnalyticsDomain = class {
|
|
|
2128
2128
|
/** Get metrics. `POST /analytics/v1/metrics/{domain}` */
|
|
2129
2129
|
async metrics(params, scope) {
|
|
2130
2130
|
const prefix = scope ? `/analytics/v1/${scope}` : "/analytics/v1";
|
|
2131
|
-
return this.request("POST", `${prefix}/metrics/${this.domain}`, { body: params });
|
|
2131
|
+
return this.request("POST", `${prefix}/metrics/${this.domain}`, { body: [params] });
|
|
2132
2132
|
}
|
|
2133
2133
|
/** Get filters. `POST /analytics/v1/filters/{domain}` */
|
|
2134
2134
|
async filters(params, scope) {
|