File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -498,7 +498,7 @@ pub trait NexusExternalApi {
498498 async fn saml_identity_provider_view (
499499 rqctx : RequestContext < Self :: Context > ,
500500 path_params : Path < params:: ProviderPath > ,
501- query_params : Query < params:: SiloSelector > ,
501+ query_params : Query < params:: OptionalSiloSelector > ,
502502 ) -> Result < HttpResponseOk < views:: SamlIdentityProvider > , HttpError > ;
503503
504504 // TODO: no DELETE for identity providers?
Original file line number Diff line number Diff line change @@ -706,7 +706,7 @@ impl NexusExternalApi for NexusExternalApiImpl {
706706 async fn saml_identity_provider_view (
707707 rqctx : RequestContext < ApiContext > ,
708708 path_params : Path < params:: ProviderPath > ,
709- query_params : Query < params:: SiloSelector > ,
709+ query_params : Query < params:: OptionalSiloSelector > ,
710710 ) -> Result < HttpResponseOk < views:: SamlIdentityProvider > , HttpError > {
711711 let apictx = rqctx. context ( ) ;
712712 let handler = async {
@@ -717,7 +717,7 @@ impl NexusExternalApi for NexusExternalApiImpl {
717717 let query = query_params. into_inner ( ) ;
718718 let saml_identity_provider_selector =
719719 params:: SamlIdentityProviderSelector {
720- silo : Some ( query. silo ) ,
720+ silo : query. silo ,
721721 saml_identity_provider : path. provider ,
722722 } ;
723723 let ( .., provider) = nexus
Original file line number Diff line number Diff line change 75237523 "in": "query",
75247524 "name": "silo",
75257525 "description": "Name or ID of the silo",
7526- "required": true,
75277526 "schema": {
75287527 "$ref": "#/components/schemas/NameOrId"
75297528 }
You can’t perform that action at this time.
0 commit comments