mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-03 12:30:19 +08:00
Remove /get-default-providers API.
This commit is contained in:
@ -32,18 +32,6 @@ func (c *ApiController) GetProviders() {
|
||||
c.ServeJSON()
|
||||
}
|
||||
|
||||
// @Title GetDefaultProviders
|
||||
// @Description get default providers
|
||||
// @Param owner query string true "The owner of providers"
|
||||
// @Success 200 {array} object.Provider The Response object
|
||||
// @router /get-default-providers [get]
|
||||
func (c *ApiController) GetDefaultProviders() {
|
||||
owner := c.Input().Get("owner")
|
||||
|
||||
c.Data["json"] = object.GetDefaultProviders(owner)
|
||||
c.ServeJSON()
|
||||
}
|
||||
|
||||
// @Title GetProvider
|
||||
// @Description get provider
|
||||
// @Param id query string true "The id of the provider"
|
||||
|
Reference in New Issue
Block a user