Pad: Rename author context properties to authorId

This commit is contained in:
Richard Hansen 2022-02-16 22:20:18 -05:00
parent 65bd5ffa6b
commit aec512d1fa
3 changed files with 25 additions and 6 deletions

View file

@ -213,7 +213,8 @@ Called when a new pad is created.
Context properties:
* `pad`: The Pad object.
* `author`: The ID of the author who created the pad.
* `authorId`: The ID of the author who created the pad.
* `author` (**deprecated**): Synonym of `authorId`.
## `padLoad`
@ -234,7 +235,8 @@ Called when an existing pad is updated.
Context properties:
* `pad`: The Pad object.
* `author`: The ID of the author who updated the pad.
* `authorId`: The ID of the author who updated the pad.
* `author` (**deprecated**): Synonym of `authorId`.
* `revs`: The index of the new revision.
* `changeset`: The changeset of this revision (see [Changeset
Library](#index_changeset_library)).