mirror of
https://github.com/jambonz/jambonz-node.git
synced 2026-07-04 19:31:48 +00:00
remove console.log
This commit is contained in:
@@ -17,7 +17,6 @@ class RestEntity {
|
||||
|
||||
async update(sid, opts) {
|
||||
if (this.validators.update) this.validators.update(opts);
|
||||
console.log({sid, opts});
|
||||
const res = await this.put(`Accounts/${this.accountSid}/${this.name}/${sid}`, opts);
|
||||
if (res.statusCode === 404) throw new Error(`${this.name}.update: sid ${sid} not found`);
|
||||
if (![202, 204].includes(res.statusCode)) {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@jambonz/node-client",
|
||||
"version": "0.2.3",
|
||||
"version": "0.2.4",
|
||||
"description": "",
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user