mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-07-05 18:24:03 +00:00
Update dependencies and vendor (#1761)
This commit is contained in:
5
vendor/github.com/mattermost/mattermost-server/v6/model/client4.go
generated
vendored
5
vendor/github.com/mattermost/mattermost-server/v6/model/client4.go
generated
vendored
@ -1978,7 +1978,7 @@ func (c *Client4) GetBotsIncludeDeleted(page, perPage int, etag string) ([]*Bot,
|
||||
return bots, BuildResponse(r), nil
|
||||
}
|
||||
|
||||
// GetBotsOrphaned fetches the given page of bots, only including orphanded bots.
|
||||
// GetBotsOrphaned fetches the given page of bots, only including orphaned bots.
|
||||
func (c *Client4) GetBotsOrphaned(page, perPage int, etag string) ([]*Bot, *Response, error) {
|
||||
query := fmt.Sprintf("?page=%v&per_page=%v&only_orphaned="+c.boolString(true), page, perPage)
|
||||
r, err := c.DoAPIGet(c.botsRoute()+query, etag)
|
||||
@ -4438,6 +4438,9 @@ func (c *Client4) UpdateConfig(config *Config) (*Config, *Response, error) {
|
||||
}
|
||||
|
||||
// MigrateConfig will migrate existing config to the new one.
|
||||
// DEPRECATED: The config migrate API has been moved to be a purely
|
||||
// mmctl --local endpoint. This method will be removed in a
|
||||
// future major release.
|
||||
func (c *Client4) MigrateConfig(from, to string) (*Response, error) {
|
||||
m := make(map[string]string, 2)
|
||||
m["from"] = from
|
||||
|
Reference in New Issue
Block a user