@objectstack/client 7.9.0 → 8.0.1
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.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +9 -9
package/dist/index.mjs
CHANGED
|
@@ -2175,7 +2175,9 @@ var ObjectStackClient = class {
|
|
|
2175
2175
|
if (filter?.status) {
|
|
2176
2176
|
params.set("status", Array.isArray(filter.status) ? filter.status.join(",") : filter.status);
|
|
2177
2177
|
}
|
|
2178
|
-
if (filter?.approverId)
|
|
2178
|
+
if (filter?.approverId) {
|
|
2179
|
+
params.set("approverId", Array.isArray(filter.approverId) ? filter.approverId.join(",") : filter.approverId);
|
|
2180
|
+
}
|
|
2179
2181
|
if (filter?.submitterId) params.set("submitterId", filter.submitterId);
|
|
2180
2182
|
const qs = params.toString();
|
|
2181
2183
|
const res = await this.fetch(`${this.baseUrl}${route}/requests${qs ? `?${qs}` : ""}`);
|