Skip to content

Commit 1a85374

Browse files
Update scheduled-jobs.md
1 parent 4e7903f commit 1a85374

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/communication-services/how-tos/router-sdk/scheduled-jobs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ if (eventGridEvent.EventType == "Microsoft.Communication.RouterJobWaitingForActi
152152
{
153153
// Perform required actions here
154154

155-
client.updateJob(new RouterJob(eventGridEvent.Data.JobId)
155+
client.updateJob(eventGridEvent.Data.JobId, BinaryData.fromObject(new RouterJob()
156156
.setMatchingMode(new QueueAndMatchMode())
157-
.setPriority(100));
157+
.setPriority(100)), null);
158158
}
159159
```
160160

0 commit comments

Comments
 (0)