File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ async def search_globally(search_term: str, scope: SearchScope) -> list[Any]:
4343 response = await gitlab_rest_client .get_async (
4444 "/search" ,
4545 params = {
46- "scope" : search_request .scope ,
46+ "scope" : search_request .scope . value ,
4747 "search" : search_request .search ,
4848 },
4949 )
@@ -79,7 +79,7 @@ async def search_group(
7979 response = await gitlab_rest_client .get_async (
8080 f"/groups/{ search_request .group_id } /search" ,
8181 params = {
82- "scope" : search_request .scope ,
82+ "scope" : search_request .scope . value ,
8383 "search" : search_request .search ,
8484 },
8585 )
@@ -114,7 +114,7 @@ async def search_project(input_model: ProjectSearchRequest) -> list[Any]:
114114
115115 try :
116116 params = {
117- "scope" : input_model .scope ,
117+ "scope" : input_model .scope . value ,
118118 "search" : input_model .search ,
119119 }
120120 if input_model .ref :
You can’t perform that action at this time.
0 commit comments