Skip to content

Commit

Permalink
Use correct variable
Browse files Browse the repository at this point in the history
  • Loading branch information
hansott committed Oct 21, 2024
1 parent 044b6ba commit d834a6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/agent/context/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function setUser(u: { id: string | number; name?: string }) {

if (!isPlainObject(user)) {
agent.log(
`setUser(...) expects an object with 'id' and 'name' properties, found ${typeof u} instead.`
`setUser(...) expects an object with 'id' and 'name' properties, found ${typeof user} instead.`
);
return;
}
Expand Down

0 comments on commit d834a6c

Please sign in to comment.