*** WIP WIP *** some smaller changes

This commit is contained in:
rxf
2023-04-04 10:38:01 +02:00
parent 48d2f82d83
commit b6a8b1706c
4 changed files with 12 additions and 190 deletions
+1 -1
View File
@@ -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) {