From 3a2c7a7a6847790eb72172dd4ce57724e88f40f5 Mon Sep 17 00:00:00 2001 From: Vikrant Gupta Date: Tue, 10 Jun 2025 21:31:56 +0530 Subject: [PATCH] fix(dashboard): create dashboard panic for id (#8214) --- pkg/modules/dashboard/impldashboard/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/modules/dashboard/impldashboard/handler.go b/pkg/modules/dashboard/impldashboard/handler.go index e07a691f062a..7ba08cd567bc 100644 --- a/pkg/modules/dashboard/impldashboard/handler.go +++ b/pkg/modules/dashboard/impldashboard/handler.go @@ -46,7 +46,7 @@ func (handler *handler) Create(rw http.ResponseWriter, r *http.Request) { return } - dashboard, err := handler.module.Create(ctx, orgID, claims.Email, valuer.MustNewUUID(claims.ID), req) + dashboard, err := handler.module.Create(ctx, orgID, claims.Email, valuer.MustNewUUID(claims.UserID), req) if err != nil { render.Error(rw, err) return