Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0ecdf1b8
authored
Oct 09, 2025
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: update jwt package import to v5 across multiple files
parent
d65a04ae
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
5 deletions
+4
-5
go.mod
+1
-2
relay/channel/task/kling/adaptor.go
+1
-1
relay/channel/vertex/service_account.go
+1
-1
relay/channel/zhipu/relay-zhipu.go
+1
-1
No files found.
go.mod
View file @
0ecdf1b8
...
...
@@ -21,7 +21,7 @@ require (
github.com/go-playground/validator/v10 v10.20.0
github.com/go-redis/redis/v8 v8.11.5
github.com/go-webauthn/webauthn v0.14.0
github.com/golang-jwt/jwt
v3.2.2+incompatible
github.com/golang-jwt/jwt
/v5 v5.3.0
github.com/google/uuid v1.6.0
github.com/gorilla/websocket v1.5.0
github.com/jinzhu/copier v0.4.0
...
...
@@ -68,7 +68,6 @@ require (
github.com/go-sql-driver/mysql v1.7.0 // indirect
github.com/go-webauthn/x v0.1.25 // indirect
github.com/goccy/go-json v0.10.2 // indirect
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-tpm v0.9.5 // indirect
github.com/gorilla/context v1.1.1 // indirect
...
...
relay/channel/task/kling/adaptor.go
View file @
0ecdf1b8
...
...
@@ -13,7 +13,7 @@ import (
"github.com/samber/lo"
"github.com/gin-gonic/gin"
"github.com/golang-jwt/jwt"
"github.com/golang-jwt/jwt
/v5
"
"github.com/pkg/errors"
"one-api/constant"
...
...
relay/channel/vertex/service_account.go
View file @
0ecdf1b8
...
...
@@ -13,7 +13,7 @@ import (
"strings"
"github.com/bytedance/gopkg/cache/asynccache"
"github.com/golang-jwt/jwt"
"github.com/golang-jwt/jwt
/v5
"
"fmt"
"time"
...
...
relay/channel/zhipu/relay-zhipu.go
View file @
0ecdf1b8
...
...
@@ -17,7 +17,7 @@ import (
"time"
"github.com/gin-gonic/gin"
"github.com/golang-jwt/jwt"
"github.com/golang-jwt/jwt
/v5
"
)
// https://open.bigmodel.cn/doc/api#chatglm_std
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment