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
In the current implementation, getIndex() returns an Index instance, but createIndex() returns the response of the POST request for creating an index. This forces a usage that looks like this:
Uh oh!
There was an error while loading. Please reload this page.
In the current implementation,
getIndex()
returns anIndex
instance, butcreateIndex()
returns the response of the POST request for creating an index. This forces a usage that looks like this:In case
createIndex
succeeds, it should return an Index instance which simplifies the usage toIn case of error, this will be handled by #7
The text was updated successfully, but these errors were encountered: