fix conversation id

This commit is contained in:
Zhang Minghan 2023-10-08 23:35:32 +08:00
parent 6e0c14967e
commit 0e47b9e4f9
2 changed files with 2 additions and 2 deletions

View File

@ -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";

View File

@ -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),