Browse Source

Merge pull request #26 from Rowno/secrets-numeric-value

secrets: make sure the value is a string
master
Leo Lamprecht 8 years ago
committed by GitHub
parent
commit
c616652bd8
  1. 2
      lib/secrets.js

2
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`);

Loading…
Cancel
Save