From bc78e0c68d2e662a02eb8bc1ee7ba13334c435ea Mon Sep 17 00:00:00 2001 From: Xavid Date: Sun, 21 Jun 2015 11:34:59 -0400 Subject: [PATCH] Update documentation for the updatePad and createPad hooks to include 'author' in the context. --- doc/api/hooks_server-side.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/hooks_server-side.md b/doc/api/hooks_server-side.md index a4505e936..79879b2fe 100644 --- a/doc/api/hooks_server-side.md +++ b/doc/api/hooks_server-side.md @@ -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.