diff --git a/examples/alternate-receive/alternate_receive.bal b/examples/alternate-receive/alternate_receive.bal index baff9d869d..29a791cf39 100644 --- a/examples/alternate-receive/alternate_receive.bal +++ b/examples/alternate-receive/alternate_receive.bal @@ -48,6 +48,6 @@ function getFirstFetched(string url1, string url2) returns string? { function fetch(string url) returns string|error { http:Client cl = check new (url); - Response {args: {'worker: 'worker}} = check cl->get(""); + Response {args: {'worker}} = check cl->get(""); return 'worker; }