Skip to content

best way to save what you love

api/stream/manage: fix usage of getInternalTunnel()

wukko5e3d6107f9d0
diff --git a/api/src/stream/manage.js b/api/src/stream/manage.js
index e64a3799..6adcd553 100644
--- a/api/src/stream/manage.js
+++ b/api/src/stream/manage.js
@@ -180,7 +180,7 @@ const transplantInternalTunnels = function(tunnelUrls, transplantUrls) {
for (const [ tun, url ] of zip(tunnelUrls, transplantUrls)) {
const id = getInternalTunnelId(tun);
- const itunnel = getInternalStream(id);
+ const itunnel = getInternalTunnel(id);
if (!itunnel) continue;
itunnel.url = url;