Skip to content

Commit

Permalink
Fix argument order (#1876)
Browse files Browse the repository at this point in the history
Co-authored-by: Junjie Tang <[email protected]>
  • Loading branch information
newtork and jjtang1985 authored Nov 19, 2024
1 parent 9354aa4 commit e686eb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs-java/features/multi-tenancy/thread-context.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ By contrast, to pass on the current context, but modifying the tenant (and only

```java
Tenant myTenant = new DefaultTenant("foo");
Callable myTaskWithTenant = () -> TenantAccessor.executeWithTenant(myTask, myTenant);
Callable myTaskWithTenant = () -> TenantAccessor.executeWithTenant(myTenant, myTask);

ThreadContextExecutors.submit(myTaskWithTenant);
```
Expand Down

0 comments on commit e686eb4

Please sign in to comment.