Skip to content

Commit d80f2d0

Browse files
committed
fixing array params and files
1 parent 79077bd commit d80f2d0

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44

55
This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).
66

7+
## [3.1.2]
8+
9+
### Removed
10+
11+
- removed `FD_PARAMS_RAW` constants.
12+
713
## [3.1.1]
814

915
### Added
@@ -336,6 +342,7 @@ This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a
336342

337343
- Initial production release.
338344

345+
[3.1.2]: https://github.com/infinum/eightshift-forms-utils/compare/3.1.1...3.1.2
339346
[3.1.1]: https://github.com/infinum/eightshift-forms-utils/compare/3.1.0...3.1.1
340347
[3.1.0]: https://github.com/infinum/eightshift-forms-utils/compare/3.0.18...3.1.0
341348
[3.0.18]: https://github.com/infinum/eightshift-forms-utils/compare/3.0.17...3.0.18

src/Config/UtilsConfig.php

-1
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,6 @@ class UtilsConfig
484484
public const FD_FORM_ID = 'formId';
485485
public const FD_POST_ID = 'postId';
486486
public const FD_PARAMS = 'params';
487-
public const FD_PARAMS_RAW = 'paramsRaw';
488487
public const FD_FILES = 'files';
489488
public const FD_SETTINGS_TYPE = 'settingsType';
490489
public const FD_FIELDS_ONLY = 'fieldsOnly';

src/Rest/Routes/AbstractUtilsBaseRoute.php

-3
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,6 @@ protected function getFormDetailsApi($request): array
480480
// Populate params.
481481
$output[UtilsConfig::FD_PARAMS] = $params['params'] ?? [];
482482

483-
// Populate params raw.
484-
$output[UtilsConfig::FD_PARAMS_RAW] = $params['paramsRaw'] ?? [];
485-
486483
// Populate files from uploaded ID.
487484
$output[UtilsConfig::FD_FILES] = $params['files'] ?? [];
488485

0 commit comments

Comments
 (0)