From 7f46f0e1568f1bdf9b47a8846269cbe00d17645f Mon Sep 17 00:00:00 2001 From: Donnie Adams Date: Tue, 17 Dec 2024 09:48:59 -0500 Subject: [PATCH] fix: use user's UID in UID field on thread Signed-off-by: Donnie Adams --- pkg/api/handlers/invoke.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/handlers/invoke.go b/pkg/api/handlers/invoke.go index d27c6e47..a54fed37 100644 --- a/pkg/api/handlers/invoke.go +++ b/pkg/api/handlers/invoke.go @@ -85,7 +85,7 @@ func (i *InvokeHandler) Invoke(req api.Context) error { ThreadName: threadID, Synchronous: synchronous, CreateThread: true, - UserUID: req.User.GetName(), + UserUID: req.User.GetUID(), }) if err != nil { return err