We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 17e7892 + ddd3c28 commit b7294f6Copy full SHA for b7294f6
docs/AuthorizationJWT.md
@@ -15,7 +15,7 @@ reduxApi({
15
information: {
16
url: "/api/information",
17
18
- // Prevent Anauthorized request
+ // Prevent Unauthorized request
19
prefetch: [
20
// Step1
21
function ({actions, dispatch}, cb) {
@@ -27,7 +27,7 @@ reduxApi({
27
// If Step1 finished successuly check auth state
28
const { user: { data: { auth }}} = getState();
29
// if user authorized allow this query
30
- auth ? cb() : cb(new Error("Anauthorized"));
+ auth ? cb() : cb(new Error("Unauthorized"));
31
}
32
]
33
0 commit comments