From a0bc0e3b607a731f6379ac7440491e8b8d8500b1 Mon Sep 17 00:00:00 2001 From: FilipDusek Date: Sun, 28 May 2017 21:51:08 +0200 Subject: [PATCH] Default role issue --- lib/nacl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nacl.js b/lib/nacl.js index 7672afd..9121d37 100644 --- a/lib/nacl.js +++ b/lib/nacl.js @@ -23,7 +23,7 @@ function config(config, response) { opt.response = response; opt.baseUrl = options.baseUrl; opt.decodedObjectName = options.decodedObjectName; - opt.defaultRole = options.defautRole || 'guest'; + opt.defaultRole = options.defaultRole || 'guest'; if (options.rules) { opt.rules = utils.validate(options.rules);