Skip to content

Commit c58cfe9

Browse files
authored
docs: rename subjectMapper → verbObjectMapper in example
1 parent 7f301f1 commit c58cfe9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ representation of what the object is.
131131
In this example it is assumed that you have a property type on your object:
132132

133133
```javascript
134-
acl.subjectMapper = (s) => (typeof s === 'string' ? s : s.type)
134+
acl.verbObjectMapper = (s) => (typeof s === 'string' ? s : s.type)
135135
```
136136

137137
E.g. a post:

0 commit comments

Comments
 (0)