From 1f97633b0f477410a41e47f41e690b0f045273d5 Mon Sep 17 00:00:00 2001 From: Roland Warmerdam Date: Sat, 10 Sep 2016 14:58:48 -0700 Subject: [PATCH] secrets: make sure the value is a string Fixes #21 --- lib/secrets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/secrets.js b/lib/secrets.js index c7080dd..6b6529f 100644 --- a/lib/secrets.js +++ b/lib/secrets.js @@ -39,7 +39,7 @@ export default class Secrets extends Now { method: 'POST', body: { name, - value + value: value.toString() } }); if (this._debug) console.timeEnd(`> [debug] #${attempt} POST /secrets`);