dt-common-device 7.1.9 → 7.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -86,8 +86,8 @@ let PropertyRepository = (() => {
|
|
|
86
86
|
}
|
|
87
87
|
async getAllProperties() {
|
|
88
88
|
try {
|
|
89
|
-
//Retrieve all the properties ids from the database
|
|
90
|
-
const properties = await this.postgres.query(
|
|
89
|
+
//Retrieve all the properties ids from the database where isDeleted is false
|
|
90
|
+
const properties = await this.postgres.query('SELECT id FROM dt_properties WHERE "isDeleted" = false');
|
|
91
91
|
return properties.rows.map((property) => property.id);
|
|
92
92
|
}
|
|
93
93
|
catch (error) {
|