don't need to return the hidden column any more

This commit is contained in:
Hubert Chathi 2019-08-01 02:16:09 -04:00
parent 73b26f827c
commit d78a4fe156
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class DeviceWorkerStore(SQLBaseStore):
return self._simple_select_one( return self._simple_select_one(
table="devices", table="devices",
keyvalues={"user_id": user_id, "device_id": device_id, "hidden": False}, keyvalues={"user_id": user_id, "device_id": device_id, "hidden": False},
retcols=("user_id", "device_id", "display_name", "hidden"), retcols=("user_id", "device_id", "display_name"),
desc="get_device", desc="get_device",
) )