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

View file

@ -52,7 +52,7 @@ class DeviceWorkerStore(SQLBaseStore):
return self._simple_select_one(
table="devices",
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",
)