mirror of
https://github.com/strapi/strapi.git
synced 2025-10-27 16:10:08 +00:00
Update fieldType comparison operator to strict
This commit is contained in:
parent
b3b2b32dd8
commit
422530ceed
@ -469,7 +469,7 @@ module.exports = {
|
||||
}
|
||||
}
|
||||
// Check if the value is a valid candidate to be converted to a number value
|
||||
if (fieldType != 'string') {
|
||||
if (fieldType !== 'string') {
|
||||
formattedValue = isNumeric(value)
|
||||
? _.toNumber(value)
|
||||
: value;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user