diff --git a/docs/docs/02-concepts/00-cloud-oriented-programming.md b/docs/docs/02-concepts/00-cloud-oriented-programming.md index f9c90bc6298..1a6949d8402 100644 --- a/docs/docs/02-concepts/00-cloud-oriented-programming.md +++ b/docs/docs/02-concepts/00-cloud-oriented-programming.md @@ -22,7 +22,7 @@ let queue = new cloud.Queue(timeout: 2m); let bucket = new cloud.Bucket(); let counter = new cloud.Counter(initial: 100); -queue.setConsumer(inflight (body: str): str => { +queue.setConsumer(inflight (body: str) => { let next = counter.inc(); let key = "myfile-{next}.txt"; bucket.put(key, body);