@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.cjs
CHANGED
|
@@ -2161,7 +2161,7 @@ var AnalyticsDomain = class {
|
|
|
2161
2161
|
/** Get metrics. `POST /analytics/v1/metrics/{domain}` */
|
|
2162
2162
|
async metrics(params, scope) {
|
|
2163
2163
|
const prefix = scope ? `/analytics/v1/${scope}` : "/analytics/v1";
|
|
2164
|
-
return this.request("POST", `${prefix}/metrics/${this.domain}`, { body: params });
|
|
2164
|
+
return this.request("POST", `${prefix}/metrics/${this.domain}`, { body: [params] });
|
|
2165
2165
|
}
|
|
2166
2166
|
/** Get filters. `POST /analytics/v1/filters/{domain}` */
|
|
2167
2167
|
async filters(params, scope) {
|