合入家庭共享与设备消息能力
This commit is contained in:
@@ -29,7 +29,6 @@ class DeviceAlarmService(DatabaseServiceBase):
|
||||
self,
|
||||
*,
|
||||
device_id: str,
|
||||
owner_user_id: int,
|
||||
limit: int,
|
||||
) -> list[Mapping[str, Any]]:
|
||||
db_session = await self.get_session()
|
||||
@@ -37,7 +36,6 @@ class DeviceAlarmService(DatabaseServiceBase):
|
||||
dao = DeviceAlarmDAO(db_session)
|
||||
return await dao.list_by_device(
|
||||
device_id=device_id,
|
||||
owner_user_id=owner_user_id,
|
||||
limit=limit,
|
||||
)
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user