Prettier everything, remove vendored bootstrap
These are installed now via pnpm
This commit is contained in:
parent
004a49c4e4
commit
5779242f22
122 changed files with 297 additions and 13665 deletions
|
|
@ -11,11 +11,11 @@ import (
|
|||
|
||||
// Client represents a Label Studio API client
|
||||
type Client struct {
|
||||
BaseURL string
|
||||
APIKey string
|
||||
AccessToken string
|
||||
BaseURL string
|
||||
APIKey string
|
||||
AccessToken string
|
||||
AccessTokenExpires time.Time
|
||||
HTTPClient *http.Client
|
||||
HTTPClient *http.Client
|
||||
}
|
||||
|
||||
// NewClient creates a new Label Studio client
|
||||
|
|
@ -124,6 +124,5 @@ func (c *Client) makeRequest(method string, path string, payload []byte) (*http.
|
|||
return nil, fmt.Errorf("API returned error status %d: %s: ", resp.Status, bodyString)
|
||||
}
|
||||
|
||||
|
||||
return resp, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue