Add ability to insert a new short URL

2 jobs for master in 1 minute and 2 seconds
Status Job ID Name Coverage
  Test
failed #178994722
test:unit-node10

00:01:01

failed #178994721
test:unit-node8

00:01:02

 
Name Stage Failure
failed
test:unit-node8 Test
  /builds/webdev.sh/pow.gd/lib/api.js:58:3: Closing curly brace does not appear on the same line as the subsequent block.
/builds/webdev.sh/pow.gd/lib/api.js:59:3: Expected space(s) after "catch".
/builds/webdev.sh/pow.gd/lib/api.js:63:12: Strings must use singlequote.
/builds/webdev.sh/pow.gd/lib/api.js:63:35: Unexpected trailing comma.
/builds/webdev.sh/pow.gd/lib/app.js:87:15: Unexpected trailing comma.
/builds/webdev.sh/pow.gd/lib/app.js:103:28: Unexpected trailing comma.
/builds/webdev.sh/pow.gd/lib/app.js:104:10: Unexpected trailing comma.
npm ERR! Test failed. See above for more details.
ERROR: Job failed: exit code 1
failed
test:unit-node10 Test
  /builds/webdev.sh/pow.gd/lib/api.js:58:3: Closing curly brace does not appear on the same line as the subsequent block.
/builds/webdev.sh/pow.gd/lib/api.js:59:3: Expected space(s) after "catch".
/builds/webdev.sh/pow.gd/lib/api.js:63:12: Strings must use singlequote.
/builds/webdev.sh/pow.gd/lib/api.js:63:35: Unexpected trailing comma.
/builds/webdev.sh/pow.gd/lib/app.js:87:15: Unexpected trailing comma.
/builds/webdev.sh/pow.gd/lib/app.js:103:28: Unexpected trailing comma.
/builds/webdev.sh/pow.gd/lib/app.js:104:10: Unexpected trailing comma.
npm ERR! Test failed. See above for more details.
ERROR: Job failed: exit code 1