Update client license etag to handle new features (#2716)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
9243b8761a
Коммит
c6c3f1e478
@@ -1125,8 +1125,8 @@ func (c *Client) MockSession(sessionToken string) {
|
||||
c.AuthType = HEADER_BEARER
|
||||
}
|
||||
|
||||
func (c *Client) GetClientLicenceConfig() (*Result, *AppError) {
|
||||
if r, err := c.DoApiGet("/license/client_config", "", ""); err != nil {
|
||||
func (c *Client) GetClientLicenceConfig(etag string) (*Result, *AppError) {
|
||||
if r, err := c.DoApiGet("/license/client_config", "", etag); err != nil {
|
||||
return nil, err
|
||||
} else {
|
||||
return &Result{r.Header.Get(HEADER_REQUEST_ID),
|
||||
|
||||
Ссылка в новой задаче
Block a user