Skip to content

Commit a2cbf25

Browse files
authored
Merge pull request #5546 from duffuniverse/fix-docs-links-in-mutation-authorization-guide
Fix docs links in the Mutation Authorization guide
2 parents 184a877 + 9629f67 commit a2cbf25

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

guides/mutations/mutation_authorization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ end
5757

5858
Now, when any non-`admin` user tries to run the mutation, it won't run. Instead, they'll get an error in the response.
5959

60-
Additionally, `#ready?` may return `false, { ... }` to return {% internal_link "errors as data", "/mutations/mutation_errors" %}:
60+
Additionally, `#ready?` may return `false, { ... }` to return {% internal_link "errors as data", "/mutations/mutation_errors.html#errors-as-data" %}:
6161

6262
```ruby
6363
def ready?
@@ -133,7 +133,7 @@ When `#authorized?` returns `false` (or something falsey), the mutation will be
133133

134134
#### Adding errors
135135

136-
To add errors as data (as described in {% internal_link "Mutation errors", "/mutations/mutation_errors" %}), return a value _along with_ `false`, for example:
136+
To add errors as data (as described in {% internal_link "Mutation errors", "/mutations/mutation_errors.html#errors-as-data" %}), return a value _along with_ `false`, for example:
137137

138138
```ruby
139139
def authorized?(employee:)

0 commit comments

Comments
 (0)