@ipcom/asterisk-ari 0.0.142 → 0.0.143

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1518,7 +1518,7 @@ var Channels = class {
1518
1518
  */
1519
1519
  async get(id) {
1520
1520
  try {
1521
- if (id) {
1521
+ if (!id) {
1522
1522
  throw new Error("No channel ID associated with this instance");
1523
1523
  }
1524
1524
  const details = await this.baseClient.get(`/channels/${id}`);