Update main.js
This commit is contained in:
parent
873df2e87e
commit
375e2e0884
2
main.js
2
main.js
@ -210,7 +210,7 @@ function replyLocallyWithRemoteDevicesData(name,type,query) {
|
|||||||
async function fetchRemoteDevicesData() {
|
async function fetchRemoteDevicesData() {
|
||||||
try {
|
try {
|
||||||
const [rows] = await dbPool.execute(
|
const [rows] = await dbPool.execute(
|
||||||
`SELECT Type, Name, Data FROM ${DB_TABLE} WHERE Host <> ?`,
|
`SELECT Type, Name, Data FROM ${DB_TABLE} WHERE Host <> ? AND MakeAvailableEverywhere = 1`,
|
||||||
[DB_USER]
|
[DB_USER]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user