Merge pull request #12715 from Budibase/attach-user-to-spans

Set user ID correctly.
This commit is contained in:
Sam Rose 2024-01-05 14:51:28 +00:00 committed by GitHub
commit d09ccdaf70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ export default function (
if (user) { if (user) {
tracer.setUser({ tracer.setUser({
id: user?.id, id: user?._id,
tenantId: user?.tenantId, tenantId: user?.tenantId,
admin: user?.admin, admin: user?.admin,
builder: user?.builder, builder: user?.builder,