From 6767233f2914fbf16ed5ae3be9f2df7258a2b3ef Mon Sep 17 00:00:00 2001 From: Ke Chen Date: Fri, 24 May 2024 19:38:47 +0800 Subject: [PATCH] fix: add record after yocsef --- apis/record/yocsef.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apis/record/yocsef.go b/apis/record/yocsef.go index f588066..60b9783 100644 --- a/apis/record/yocsef.go +++ b/apis/record/yocsef.go @@ -74,6 +74,8 @@ func InferYocsefAsyncAPI(c *websocket.Conn) { DB.Create(&record) + _ = c.WriteJSON(record) + return nil }