diff options
author | 6543 <6543@obermui.de> | 2022-01-05 05:51:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-05 05:51:12 +0100 |
commit | ec6cc38c6c26f95748be4a9041da2a9528e3625d (patch) | |
tree | 8ac98a32ab06fec2c92462e2af9de9c1b6d16c45 /vendor/code.gitea.io/sdk/gitea/user_app.go | |
parent | 8760af752abd94f050c6014c8cfa3cb6a6c854b7 (diff) | |
download | gitea-ec6cc38c6c26f95748be4a9041da2a9528e3625d.tar.gz gitea-ec6cc38c6c26f95748be4a9041da2a9528e3625d.zip |
code.gitea.io/sdk/gitea v0.14.0 -> v0.15.1 (#18186)
Diffstat (limited to 'vendor/code.gitea.io/sdk/gitea/user_app.go')
-rw-r--r-- | vendor/code.gitea.io/sdk/gitea/user_app.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/code.gitea.io/sdk/gitea/user_app.go b/vendor/code.gitea.io/sdk/gitea/user_app.go index 2921eea7df..88b01ed083 100644 --- a/vendor/code.gitea.io/sdk/gitea/user_app.go +++ b/vendor/code.gitea.io/sdk/gitea/user_app.go @@ -77,7 +77,7 @@ func (c *Client) DeleteAccessToken(value interface{}) (*Response, error) { case reflect.Int64: token = fmt.Sprintf("%d", value.(int64)) case reflect.String: - if err := c.CheckServerVersionConstraint(">= 1.13.0"); err != nil { + if err := c.checkServerVersionGreaterThanOrEqual(version1_13_0); err != nil { return nil, err } token = value.(string) |