Skip to content

Commit 45272eb

Browse files
committed
shallow clone user
1 parent abebe62 commit 45272eb

File tree

1 file changed

+1
-1
lines changed
  • packages/node-experimental/src/sdk

1 file changed

+1
-1
lines changed

packages/node-experimental/src/sdk/scope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class Scope extends OpenTelemetryScope implements ScopeInterface {
8585
newScope._tags = { ...this['_tags'] };
8686
newScope._extra = { ...this['_extra'] };
8787
newScope._contexts = { ...this['_contexts'] };
88-
newScope._user = this['_user'];
88+
newScope._user = { ...this['_user'] };
8989
newScope._level = this['_level'];
9090
newScope._span = this['_span'];
9191
newScope._session = this['_session'];

0 commit comments

Comments
 (0)