docs: fix admin actor type -> user (#9028)
This commit is contained in:
1 parent
f32091f702
commit
89f21e4a60
1 file changed
+1
-1
@@ -1160,7 +1160,7 @@ export default defineMiddlewares({
|
|||||||
method: ["POST", "DELETE"],
|
method: ["POST", "DELETE"],
|
||||||
matcher: "/restaurants/:id/**",
|
matcher: "/restaurants/:id/**",
|
||||||
middlewares: [
|
middlewares: [
|
||||||
authenticate(["restaurant", "admin"], "bearer"),
|
authenticate(["restaurant", "user"], "bearer"),
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in new issue
Block a user