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:
LennarX
2025-04-28 18:19:06 +02:00
committed by GitHub
parent 56ded19bf9
commit f31013104b

View File

@@ -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 {