docs: fix admin actor type -> user (#9028)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-06 17:38:33 +02:00
1 parent f32091f702
commit 89f21e4a60
1 file changed
+1 -1
@@ -1160,7 +1160,7 @@ export default defineMiddlewares({
method: ["POST", "DELETE"],
matcher: "/restaurants/:id/**",
middlewares: [
authenticate(["restaurant", "admin"], "bearer"),
authenticate(["restaurant", "user"], "bearer"),
],
},
],