Skip to content

Commit a56df96

Browse files
committed
[Queues] Simplify example that pushes to a Queue via a Worker
1 parent 3cad468 commit a56df96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/queues/examples/publish-to-a-queue-via-workers.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { WranglerConfig } from "~/components";
1414

1515
The following example shows you how to publish messages to a Queue from a Worker. The example uses a Worker that receives a JSON payload from the request body and writes it as-is to the Queue, but in a real application you might have more logic before you queue a message.
1616

17-
### Prerequisites
17+
## Prerequisites
1818

1919
- A [queue created](/queues/get-started/#3-create-a-queue) via the [Cloudflare dashboard](https://dash.cloudflare.com) or the [wrangler CLI](/workers/wrangler/install-and-update/).
2020
- A [configured **producer** binding](/queues/configuration/configure-queues/#producer-worker-configuration) in the Cloudflare dashboard or Wrangler file.

0 commit comments

Comments
 (0)