prevent false errors from meilisearch

This commit is contained in:
FloatingGhost 2022-09-20 11:11:35 +01:00
parent 9b2c169cef
commit e179d2f72d
2 changed files with 4 additions and 1 deletions

View file

@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed
- **Breaking**: `/api/v1/pleroma/backups` endpoints now requires `read:backups` scope instead of `read:accounts`
### Fixed
- prevent false-errors from meilisearch
## 2022.09
### Added

View file

@ -153,7 +153,7 @@ def add_to_index(activity) do
)
with {:ok, res} <- result,
true <- Map.has_key?(res, "uid") do
true <- Map.has_key?(res, "indexUid") do
# Do nothing
else
_ ->