Skip to content

Commit

Permalink
fix conversation id
Browse files Browse the repository at this point in the history
  • Loading branch information
zmh-program committed Oct 8, 2023
1 parent 6e0c149 commit 0e47b9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/conf.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import axios from "axios";

export const version = "3.3.3";
export const version = "3.3.4";
export const deploy: boolean = true;
export let rest_api: string = "http://localhost:8094";
export let ws_api: string = "ws://localhost:8094";
Expand Down
2 changes: 1 addition & 1 deletion manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func ChatAPI(c *gin.Context) {

id := auth.GetId(db, user)

instance := conversation.ExtractConversation(db, user, id)
instance := conversation.ExtractConversation(db, user, form.Id)
hash := fmt.Sprintf(":chatthread:%s", utils.Md5Encrypt(utils.Multi(
authenticated,
strconv.FormatInt(id, 10),
Expand Down

0 comments on commit 0e47b9e

Please sign in to comment.