@@ -184,9 +184,9 @@ def list_users(
184184 }
185185
186186 if group_id is not None :
187- list_params ["group " ] = group_id
187+ list_params ["group_id " ] = group_id
188188 if directory_id is not None :
189- list_params ["directory " ] = directory_id
189+ list_params ["directory_id " ] = directory_id
190190
191191 response = self ._http_client .request (
192192 "directory_users" ,
@@ -218,9 +218,9 @@ def list_groups(
218218 }
219219
220220 if user_id is not None :
221- list_params ["user " ] = user_id
221+ list_params ["user_id " ] = user_id
222222 if directory_id is not None :
223- list_params ["directory " ] = directory_id
223+ list_params ["directory_id " ] = directory_id
224224
225225 response = self ._http_client .request (
226226 "directory_groups" ,
@@ -322,9 +322,9 @@ async def list_users(
322322 }
323323
324324 if group_id is not None :
325- list_params ["group " ] = group_id
325+ list_params ["group_id " ] = group_id
326326 if directory_id is not None :
327- list_params ["directory " ] = directory_id
327+ list_params ["directory_id " ] = directory_id
328328
329329 response = await self ._http_client .request (
330330 "directory_users" ,
@@ -355,9 +355,9 @@ async def list_groups(
355355 "order" : order ,
356356 }
357357 if user_id is not None :
358- list_params ["user " ] = user_id
358+ list_params ["user_id " ] = user_id
359359 if directory_id is not None :
360- list_params ["directory " ] = directory_id
360+ list_params ["directory_id " ] = directory_id
361361
362362 response = await self ._http_client .request (
363363 "directory_groups" ,
0 commit comments