Skip to content

Commit 67360d0

Browse files
committed
docs: setUser sets user in context, not merges it
1 parent 57b3ce9 commit 67360d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/hub/src/scope.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export class Scope {
8585

8686
/**
8787
* Updates user context information for future events.
88-
* @param user User context object to merge into current context.
88+
* @param user User context object to be set in the current context.
8989
*/
9090
public setUser(user: User): Scope {
9191
this.user = safeNormalize(user);

0 commit comments

Comments
 (0)