Skip to content

Commit f59b149

Browse files
Update matching-concepts.md
1 parent 58681af commit f59b149

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/communication-services/concepts/router/matching-concepts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ worker = client.upsert_worker(worker_id = worker.id, available_for_offers = Fals
262262
::: zone pivot="programming-language-java"
263263

264264
```java
265-
worker = client.updateWorkerWithResponse(worker.getId(), worker.setAvailableForOffers(false));
265+
client.updateWorker(worker.getId(), BinaryData.fromObject(worker.setAvailableForOffers(false)), null);
266266
```
267267

268268
::: zone-end

0 commit comments

Comments
 (0)