adonis-lucid-mongodb
Advanced tools
Comparing version 1.0.23 to 1.0.24
@@ -8,3 +8,3 @@ { | ||
}, | ||
"version": "1.0.23", | ||
"version": "1.0.24", | ||
"scripts": { | ||
@@ -11,0 +11,0 @@ "lint": "standard", |
@@ -95,3 +95,3 @@ 'use strict' | ||
this.attributes[key] = value ? moment(value) : value | ||
} else if (_.includes(this.constructor.dateFields, key) && _.isObject(value) && _.isArray(value.coordinates)) { | ||
} else if (_.includes(this.constructor.geoFields, key) && _.isObject(value) && _.isArray(value.coordinates)) { | ||
this.attributes[key] = new GeoPoint(value.coordinates[1], value.coordinates[0]) | ||
@@ -98,0 +98,0 @@ } else { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
233313