From 153a764c2afbcf9a9005bbb66a6c4fab1d5aa170 Mon Sep 17 00:00:00 2001 From: Martin Jonsson Date: Fri, 8 Dec 2017 10:10:55 +0100 Subject: [PATCH] Update docs --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 316c600..52aeed9 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ This module is installed via npm: - `protocol` - `HTTP` or `HTTPS` **required** - `attributes` Object, key:value, Set subscription attributes, only used if the plugin handles the subscription confirmation and subscription does not exist' - `handlers` - - `subscriptionconfirmation` - `Function(req, reply, payload)` If omitted the plugin will handle the subscription confirmation messages - - `notification` - `Function(req, reply, payload)` **required** + - `subscriptionconfirmation` - `Function(req, h, payload)` If omitted the plugin will handle the subscription confirmation messages + - `notification` - `Function(req, h, payload)` **required** ## Examples