fix(dashboard): create dashboard panic for id (#8214)

This commit is contained in:
Vikrant Gupta 2025-06-10 21:31:56 +05:30 committed by GitHub
parent 33e70d1f37
commit 3a2c7a7a68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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