Update documentation for the updatePad and createPad hooks to include 'author'
in the context.pull/2699/head
parent
a4fe0d0dc8
commit
bc78e0c68d
|
@ -110,6 +110,7 @@ Called from: src/node/db/Pad.js
|
|||
Things in context:
|
||||
|
||||
1. pad - the pad instance
|
||||
2. author - the id of the author who created the pad
|
||||
|
||||
This hook gets called when a new pad was created.
|
||||
|
||||
|
@ -128,6 +129,7 @@ Called from: src/node/db/Pad.js
|
|||
Things in context:
|
||||
|
||||
1. pad - the pad instance
|
||||
2. author - the id of the author who updated the pad
|
||||
|
||||
This hook gets called when an existing pad was updated.
|
||||
|
||||
|
|
Loading…
Reference in New Issue