Leaves out position value for db fixtures and test data
This commit is contained in:
@@ -18,7 +18,6 @@ function convertToSymptoFormat(val) {
|
|||||||
if (val.cervix && typeof val.cervix.opening === 'number' && typeof val.cervix.firmness === 'number') sympto.cervix = {
|
if (val.cervix && typeof val.cervix.opening === 'number' && typeof val.cervix.firmness === 'number') sympto.cervix = {
|
||||||
opening: val.cervix.opening,
|
opening: val.cervix.opening,
|
||||||
firmness: val.cervix.firmness,
|
firmness: val.cervix.firmness,
|
||||||
position: -1,
|
|
||||||
exclude: false
|
exclude: false
|
||||||
}
|
}
|
||||||
return sympto
|
return sympto
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ function convertToSymptoFormat(val) {
|
|||||||
if (val.cervix && typeof val.cervix.opening === 'number' && typeof val.cervix.firmness === 'number') sympto.cervix = {
|
if (val.cervix && typeof val.cervix.opening === 'number' && typeof val.cervix.firmness === 'number') sympto.cervix = {
|
||||||
opening: val.cervix.opening,
|
opening: val.cervix.opening,
|
||||||
firmness: val.cervix.firmness,
|
firmness: val.cervix.firmness,
|
||||||
position: -1,
|
|
||||||
exclude: false
|
exclude: false
|
||||||
}
|
}
|
||||||
if (val.bleeding) sympto.bleeding = {
|
if (val.bleeding) sympto.bleeding = {
|
||||||
|
|||||||
Reference in New Issue
Block a user