mirror of
https://gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud
synced 2025-07-03 14:32:25 +00:00
fix golint errors
This commit is contained in:
2
utils.go
2
utils.go
@ -12,7 +12,7 @@ import (
|
||||
|
||||
func (c *Client) baseRequest(route *url.URL, name string, subroute string, ro *req.RequestOptions, method string) (*req.Response, error) {
|
||||
if !c.loggedIn() {
|
||||
return nil, unauthorized
|
||||
return nil, errUnauthorized
|
||||
}
|
||||
u := c.baseURL.ResolveReference(route)
|
||||
if name != "" {
|
||||
|
Reference in New Issue
Block a user