diff --git a/exercise/10-admin-user/README.md b/exercise/10-admin-user/README.md index 55d2068..3b69c8d 100644 --- a/exercise/10-admin-user/README.md +++ b/exercise/10-admin-user/README.md @@ -66,7 +66,7 @@ async function requireUserPermission(request: Request, permission: string) { } export async function loader({ request }: LoaderArgs) { - await requireUserPermission("emails.write"); + await requireUserPermission(request, "emails.write"); return json({}); } ```