WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 11d7c45

Browse files
mrstegemanbencevans
authored andcommitted
fix: URL undefined error. (#442)
References tim-hellhake/sonos-adapter#9
1 parent 58e4afa commit 11d7c45

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/sonos.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ const RENDERING_ENDPOINT = '/MediaRenderer/RenderingControl/Control'
1414
const DEVICE_ENDPOINT = '/DeviceProperties/Control'
1515

1616
// Dependencies
17+
const URL = require('url').URL
1718
const util = require('util')
1819
const EventEmitter = require('events').EventEmitter
1920
const request = require('axios')

0 commit comments

Comments
 (0)