You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1653: Update version for the next release (v0.40.0) r=curquiza a=meili-bot
- Fix the issue introduced in the v0.39 that affected vite apps #1652 `@brunoocasali`
- Now to use the `generateTenantToken` you should use it with `await`:
before:
```js
const token = client.generateTenantToken(apiKeyUid, searchRules, {
apiKey: apiKey,
expiresAt: expiresAt,
})
```
after:
```js
const token = await client.generateTenantToken(apiKeyUid, searchRules, {
apiKey: apiKey,
expiresAt: expiresAt,
})
```
Co-authored-by: meili-bot <[email protected]>
0 commit comments