Skip to content

Commit 9bd68ec

Browse files
author
Vincent Molinié
committed
[*] Smart Action - Fix crash on server start
1 parent 3601ec7 commit 9bd68ec

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Change Log
22

33
## [Unreleased]
4+
### Fixed
5+
- Smart Action - Fix crash on server start.
46

57
## RELEASE 3.0.0 - 2019-04-22
68

lib/forest_liana/schema_file_updater.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,8 @@ def initialize filename, collections, meta
9494
end
9595

9696
collection['actions'] = collection['actions'].map do |action|
97-
action.slice(*KEYS_ACTION)
9897
action['fields'] = action['fields'].map { |field| field.slice(*KEYS_ACTION_FIELD) }
99-
action
98+
action.slice(*KEYS_ACTION)
10099
end
101100

102101
collection['segments'] = collection['segments'].map do |segment|

0 commit comments

Comments
 (0)