docs(algolia): rename instructed filename to fit (#12300)
The instructed filename now is the same as in the code-block below (`algolia-sync.ts`) and the instructions don't have naming conflicts (see next step which is instructing to create a file named `product-sync.ts`).
This commit is contained in:
@@ -588,7 +588,7 @@ Learn more about subscribers in the [Events and Subscribers documentation](!docs
|
||||
|
||||
</Note>
|
||||
|
||||
You create a subscriber in a TypeScript or JavaScript file under the `src/subscribers` directory. So, to create the subscriber that listens to the `algolia.sync` event, create the file `src/subscribers/products-sync.ts` with the following content:
|
||||
You create a subscriber in a TypeScript or JavaScript file under the `src/subscribers` directory. So, to create the subscriber that listens to the `algolia.sync` event, create the file `src/subscribers/algolia-sync.ts` with the following content:
|
||||
|
||||
```ts title="src/subscribers/algolia-sync.ts"
|
||||
import {
|
||||
|
||||
Reference in New Issue
Block a user