Don't wait update, return db results

This commit is contained in:
Douglas Barone 2020-11-12 10:34:37 -04:00
parent a8db2e4abd
commit 51d8bd886d

View File

@ -107,7 +107,8 @@ const Query = {
userPresence: async (_, { search }) => {
if (!search) {
await updateDBWithOnlineDevices()
//await updateDBWithOnlineDevices()
updateDBWithOnlineDevices()
search = ''
}