We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.catch(() => -1);
The text was updated successfully, but these errors were encountered:
ill leave it to the presentation, tho i forgot the error the db makes, which is the reason why i did this like the thing is, i edited the promise value, if its an error => the error is about the query result having an error because the result doesn't exist/isn't in the database so if its an error return -1 like most of the find, indexOf functions do https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: