@teamkeel/testing-runtime 0.460.0 → 0.460.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/package.json +1 -1
- package/src/FlowExecutor.mjs +3 -3
package/package.json
CHANGED
package/src/FlowExecutor.mjs
CHANGED
|
@@ -141,13 +141,13 @@ export class FlowExecutor {
|
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
async callback(id, stepId, element, callbackName, values) {
|
|
144
|
-
const
|
|
144
|
+
const params = new URLSearchParams({
|
|
145
145
|
element,
|
|
146
146
|
callback: callbackName,
|
|
147
|
-
})
|
|
147
|
+
});
|
|
148
148
|
const url = `${this._flowUrl}/${encodeURIComponent(
|
|
149
149
|
id
|
|
150
|
-
)}/${encodeURIComponent(stepId)}/callback?${
|
|
150
|
+
)}/${encodeURIComponent(stepId)}/callback?${params.toString()}`;
|
|
151
151
|
|
|
152
152
|
return await fetch(url, {
|
|
153
153
|
method: "POST",
|