File tree 3 files changed +7
-3
lines changed
3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"rules": {
3
- "no-console": "off"
3
+ "no-console": "off",
4
+ "max-len": ["error", { "code": 150 }]
4
5
},
5
6
"env": {
6
7
es6: true,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ module.exports.getExpression = (msg) => {
25
25
schemaUri : 'person' ,
26
26
oihUid : msg . body . meta . oihUid ? msg . body . meta . oihUid : '' ,
27
27
applicationUid : msg . body . meta . applicationUid ? msg . body . meta . applicationUid : '' ,
28
- iamToken : msg . body . meta . iamToken ? msg . body . meta . iamToken : '' ,
28
+ iamToken : msg . body . meta . iamToken ? msg . body . meta . iamToken : undefined ,
29
29
} ,
30
30
data : {
31
31
uid : msg . body . meta . recordUid ,
Original file line number Diff line number Diff line change
1
+ /* eslint "max-len": ["error", { "code": 170 }] */
2
+
1
3
/**
2
4
* Copyright 2018 Wice GmbH
3
5
@@ -29,8 +31,9 @@ module.exports.getExpression = (msg) => {
29
31
const expression = {
30
32
meta : {
31
33
recordUid : msg . body . meta . recordUid ,
34
+ operation : msg . body . operation ,
32
35
applicationUid : ( msg . body . meta . applicationUid !== undefined && msg . body . meta . applicationUid !== null ) ? msg . body . meta . applicationUid : 'appUid not set yet' ,
33
- iamToken : ( msg . body . meta . iamToken !== undefined && msg . body . meta . iamToken !== null ) ? msg . body . meta . iamToken : 'iamToken not set yet' ,
36
+ iamToken : ( msg . body . meta . iamToken !== undefined && msg . body . meta . iamToken !== null ) ? msg . body . meta . iamToken : undefined ,
34
37
domainId : '5d9b2511d48c29001a202169' ,
35
38
schemaUri : 'person' ,
36
39
} ,
You can’t perform that action at this time.
0 commit comments