@fonos/voice
Advanced tools
Comparing version 0.1.25 to 0.1.26
@@ -37,10 +37,12 @@ "use strict"; | ||
case "stop": | ||
super.delete(`playbacks/${this.playbackId}`); | ||
await super.delete(`playbacks/${this.playbackId}`); | ||
break; | ||
default: | ||
super.post(`playbacks/${this.playbackId}/control`, `operation=${name}`); | ||
await super.post(`playbacks/${this.playbackId}/control`, `operation=${name}`); | ||
} | ||
} | ||
catch (e) { | ||
// TODO: We should print anything non 404 errors | ||
if (!e.response || e.response.status !== 404) { | ||
logger_1.default.error(e); | ||
} | ||
} | ||
@@ -47,0 +49,0 @@ } |
{ | ||
"name": "@fonos/voice", | ||
"version": "0.1.25", | ||
"version": "0.1.26", | ||
"description": "Voice verbs", | ||
@@ -42,3 +42,3 @@ "author": "Pedro Sanders <psanders@fonoster.com>", | ||
}, | ||
"gitHead": "6de12ec9197969c3fd1326bbde9606ad556e885c", | ||
"gitHead": "1a1d567f57e5ebda0cea9a4871b9b8cef378c433", | ||
"devDependencies": { | ||
@@ -45,0 +45,0 @@ "@types/pubsub-js": "^1.8.2" |
76051
1918