File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ function getSimplifiedEmployeeList(employeeList) {
46
46
* @param {String } fullPolicy.name
47
47
* @param {String } fullPolicy.role
48
48
* @param {String } fullPolicy.type
49
- * @param {String } fullPolicy.value. outputCurrency
49
+ * @param {String } fullPolicy.outputCurrency
50
50
* @param {Object } fullPolicy.value.employeeList
51
51
* @param {String } [fullPolicy.value.avatarURL]
52
52
* @returns {Object }
@@ -57,7 +57,7 @@ function getSimplifiedPolicyObject(fullPolicy) {
57
57
name : fullPolicy . name ,
58
58
role : fullPolicy . role ,
59
59
type : fullPolicy . type ,
60
- outputCurrency : lodashGet ( fullPolicy , 'value .outputCurrency' , '' ) ,
60
+ outputCurrency : fullPolicy . outputCurrency ,
61
61
employeeList : getSimplifiedEmployeeList ( lodashGet ( fullPolicy , 'value.employeeList' ) ) ,
62
62
avatarURL : lodashGet ( fullPolicy , 'value.avatarURL' , '' ) ,
63
63
} ;
You can’t perform that action at this time.
0 commit comments