Skip to content

Commit fba1498

Browse files
authored
Follow-up #1653: pass authz on each method (#1658)
1 parent 78a10e2 commit fba1498

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

checks/remotesettings/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async def server_info(self, **kwargs) -> Dict:
3030

3131
async def get_collection(self, *, bucket: str, id: str, **kwargs) -> Dict:
3232
url = f"{self.server_url}/buckets/{bucket}/collections/{id}"
33-
return await utils.fetch_json(url, **kwargs)
33+
return await utils.fetch_json(url, **self._client_kwargs(**kwargs))
3434

3535
async def get_collections(self, *, bucket: str, **kwargs) -> Dict:
3636
url = f"{self.server_url}/buckets/{bucket}/collections"
@@ -44,7 +44,7 @@ async def get_records(
4444

4545
async def get_monitor_changes(self, **kwargs) -> List[Dict]:
4646
resp = await self.get_changeset(
47-
bucket="monitor", collection="changes", **kwargs
47+
bucket="monitor", collection="changes", **self._client_kwargs(**kwargs)
4848
)
4949
return resp["changes"]
5050

0 commit comments

Comments
 (0)