dimitrov-adrian / directus-extension-searchsync

Simple Directus 9 extension that sync content with remote search engine.
MIT License
116 stars 27 forks source link

Support new Meilisearch authorization headers #15

Closed camdendotlol closed 2 years ago

camdendotlol commented 2 years ago

The latest version of Meilisearch includes a breaking change to the request authorization headers: https://github.com/meilisearch/MeiliSearch/releases/tag/v0.25.0

In this PR I added the new headers alongside the old X-MEILI-API-KEY (so this extension can still support pre-0.25 versions of Meilisearch).