Browse Source

secrets: make sure the value is a string

Fixes #21
master
Roland Warmerdam 8 years ago
parent
commit
1f97633b0f
  1. 2
      lib/secrets.js

2
lib/secrets.js

@ -39,7 +39,7 @@ export default class Secrets extends Now {
method: 'POST', method: 'POST',
body: { body: {
name, name,
value value: value.toString()
} }
}); });
if (this._debug) console.timeEnd(`> [debug] #${attempt} POST /secrets`); if (this._debug) console.timeEnd(`> [debug] #${attempt} POST /secrets`);

Loading…
Cancel
Save