*** WIP WIP *** some smaller changes
This commit is contained in:
@@ -31,7 +31,7 @@ export const getOneProperty = async (params) => {
|
||||
// now find sensors with same location
|
||||
let query = {"location.0.id": pp.properties.location[0].id}
|
||||
let others = await readProperties(query)
|
||||
if (others.error) {
|
||||
if (others.err) {
|
||||
return returnOnError(properties, ERR.NOPROPSREAD.replace('xx',others.errortext), getOneProperty.name)
|
||||
}
|
||||
if (others.properties.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user