mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-29 12:09:31 +08:00
Go: add context, part6 (#17399)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -63,7 +63,7 @@ func (h *UserHandler) Register(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
user, code, err := h.userService.Register(&req)
|
||||
user, code, err := h.userService.Register(ctx, &req)
|
||||
if err != nil {
|
||||
var data interface{} = false
|
||||
if code == common.CodeExceptionError {
|
||||
|
||||
Reference in New Issue
Block a user