From 1bfe212ea03c01ed645a6b6ee7f3ec211bb57395 Mon Sep 17 00:00:00 2001 From: Konstantin Babushkin Date: Wed, 14 Aug 2024 17:20:44 +0200 Subject: [PATCH] fix typo in docs --- docs/6/api-reference/directives.md | 4 ++-- docs/master/api-reference/directives.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/6/api-reference/directives.md b/docs/6/api-reference/directives.md index 424a35c19..50db50e59 100644 --- a/docs/6/api-reference/directives.md +++ b/docs/6/api-reference/directives.md @@ -747,7 +747,7 @@ directive @canFind( ) repeatable on FIELD_DEFINITION ``` -### canRoot +### @canModel ```graphql """ @@ -755,7 +755,7 @@ Check a Laravel Policy to ensure the current user is authorized to access a fiel Check the policy against the root model. """ -directive @canRoot( +directive @canModel( """ The model name to check against. """ diff --git a/docs/master/api-reference/directives.md b/docs/master/api-reference/directives.md index 424a35c19..50db50e59 100644 --- a/docs/master/api-reference/directives.md +++ b/docs/master/api-reference/directives.md @@ -747,7 +747,7 @@ directive @canFind( ) repeatable on FIELD_DEFINITION ``` -### canRoot +### @canModel ```graphql """ @@ -755,7 +755,7 @@ Check a Laravel Policy to ensure the current user is authorized to access a fiel Check the policy against the root model. """ -directive @canRoot( +directive @canModel( """ The model name to check against. """