fix(plugin): parameter convert failed (#274)

main
mrh997 3 months ago committed by GitHub
parent f589bb94bb
commit 2ed2a60479
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      backend/application/plugin/plugin.go

@ -250,7 +250,7 @@ func (p *PluginApplicationService) RegisterPluginMeta(ctx context.Context, req *
if req.GetLocation() == common.AuthorizationServiceLocation_Query {
loc = model.ParamInQuery
} else if req.GetLocation() == common.AuthorizationServiceLocation_Header {
loc = model.ParamInPath
loc = model.ParamInHeader
} else {
return nil, fmt.Errorf("invalid location '%s'", req.GetLocation())
}

Loading…
Cancel
Save