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

This commit is contained in:
Shahed Nasser
2024-09-06 18:38:33 +03:00
committed by GitHub
parent f32091f702
commit 89f21e4a60

View File

@@ -1160,7 +1160,7 @@ export default defineMiddlewares({
method: ["POST", "DELETE"],
matcher: "/restaurants/:id/**",
middlewares: [
authenticate(["restaurant", "admin"], "bearer"),
authenticate(["restaurant", "user"], "bearer"),
],
},
],