Skip to content

Commit 2252cea

Browse files
committed
Fix fetching roles
1 parent 0ce5591 commit 2252cea

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "recnetpy"
7-
version = "0.2.52"
7+
version = "0.2.53"
88
authors = [
99
{ name="RecNetBot Development"}
1010
]

src/recnetpy/dataclasses/room.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ async def resolve_role_owners(self) -> Optional[List['Role']]:
228228
account = self.client.accounts.create_dataclass(role.account_id)
229229
role.account = account
230230
accounts[role.account_id] = account
231-
data: 'Response[List[AccountResponse]]' = await self.rec_net.accounts.account.bulk.make_request('post', body = {"id": accounts.keys()})
231+
data: 'Response[List[AccountResponse]]' = await self.rec_net.accounts.bulk.make_request('post', body = {"id": accounts.keys()})
232232
for data_response in data.data: accounts.get(data_response['accountId']).patch_data(data_response)
233233

234234
# Search for deleted accounts

0 commit comments

Comments
 (0)