Skip to content

Commit

Permalink
Merge #553
Browse files Browse the repository at this point in the history
553: Bump meilisearch from 0.38.0 to 0.44.1 r=mdubus a=flevi29

Supersedes #540 

Co-authored-by: F. Levi <[email protected]>
  • Loading branch information
meili-bors[bot] and flevi29 authored Oct 15, 2024
2 parents ce5e4f3 + cf26aa0 commit cdf8e45
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"babel-loader": "9.1.3",
"color": "^4.2.3",
"eslint-plugin-import": "^2.29.1",
"meilisearch": "^0.38.0",
"meilisearch": "^0.44.1",
"prop-types": "^15.8.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
Expand Down
5 changes: 1 addition & 4 deletions src/utils/hasAnApiKeySet.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ const hasAnApiKeySet = async () => {
await tempClient.getIndexes()
return false
} catch (err) {
if (err.code === 'missing_authorization_header') {
return true
}
return false
return err.cause.code === 'missing_authorization_header'
}
}

Expand Down
10 changes: 4 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10423,12 +10423,10 @@ meilisearch@^0.36.0:
dependencies:
cross-fetch "^3.1.6"

meilisearch@^0.38.0:
version "0.38.0"
resolved "https://registry.yarnpkg.com/meilisearch/-/meilisearch-0.38.0.tgz#c3f666a995f15553b1b27e05e28a51bbfb3639bc"
integrity sha512-bHaq8nYxSKw9/Qslq1Zes5g9tHgFkxy/I9o8942wv2PqlNOT0CzptIkh/x98N52GikoSZOXSQkgt6oMjtf5uZw==
dependencies:
cross-fetch "^3.1.6"
meilisearch@^0.44.1:
version "0.44.1"
resolved "https://registry.yarnpkg.com/meilisearch/-/meilisearch-0.44.1.tgz#1e997b8020b8c0d03d500bcab53f494b51edec90"
integrity sha512-ZTZYBmomtRwjaWbvU8U8ct04g/YnrNOlvchogJOPgHcQIQBfjdbAvMJ8mLhuZEzpioYXIT6Cv+FcE150pc2+nw==

memfs@^3.1.2:
version "3.2.2"
Expand Down

0 comments on commit cdf8e45

Please sign in to comment.