flamerest 1.0.65 → 1.0.67
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/REST.js +3 -2
- package/package.json +1 -1
package/REST.js
CHANGED
|
@@ -513,8 +513,9 @@ class FLAMEREST {
|
|
|
513
513
|
else valuesArr = [values[val]];
|
|
514
514
|
|
|
515
515
|
// Идём по каждому значению в массиве
|
|
516
|
-
for (let
|
|
516
|
+
for (let valueKey in valuesArr) {
|
|
517
517
|
|
|
518
|
+
let value = valuesArr[valueKey];
|
|
518
519
|
|
|
519
520
|
// Преобразуем
|
|
520
521
|
let isRef = false;
|
|
@@ -552,7 +553,7 @@ class FLAMEREST {
|
|
|
552
553
|
*/
|
|
553
554
|
|
|
554
555
|
if (values[val] instanceof Array) {
|
|
555
|
-
values[val].splice(
|
|
556
|
+
values[val].splice(valueKey);
|
|
556
557
|
values[val].push(...newValues);
|
|
557
558
|
}
|
|
558
559
|
else {
|