Skip to content

Commit

Permalink
fix: remove unused ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
liuhuapiaoyuan committed Apr 16, 2024
1 parent af78fe2 commit 60b472a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend-api/backend-api.go
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,6 @@ func AttachGPT4Mobile(ctx g.Ctx, response *http.Response) error {

// 创建信息,接受参数 conversationId
func CreateConversation(r *ghttp.Request, userId int, chatgptId int, userToken string, userAgent string, conversationPath string) {
ctx := r.GetCtx()
id := strings.Split(conversationPath, "/")[4]
r.Request.Header.Set("Authorization", "Bearer "+userToken)
resStr, err := ProxyRequestGet("/backend-api/conversation/"+id, r)
Expand Down

0 comments on commit 60b472a

Please sign in to comment.