Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(typesense): remove unused exists checks
In //laravel#820 we introduced an exists check method, which then lead to static state issues as described in laravel#845 Those where addressed in laravel#846 But now that the function always double-checks the existence, we can remove the exists check entirely and only rely on the Typesense server response for this state. This "fixes" issues where the server already has a collection and the client would try to recreate it. E.g. when it has flushed the index and another process or worker then creates the collection.
- Loading branch information