Don't wait update, return db results
This commit is contained in:
parent
a8db2e4abd
commit
51d8bd886d
|
@ -107,7 +107,8 @@ const Query = {
|
|||
|
||||
userPresence: async (_, { search }) => {
|
||||
if (!search) {
|
||||
await updateDBWithOnlineDevices()
|
||||
//await updateDBWithOnlineDevices()
|
||||
updateDBWithOnlineDevices()
|
||||
search = ''
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user