fix linting and testing stages
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
Madison Grubb
2026-02-12 13:39:45 -05:00
parent fbb38c5dd7
commit 06f9a5b96e
6 changed files with 10 additions and 9 deletions

View File

@@ -63,7 +63,7 @@ const resolveAnnouncedIp = (requestHost) => {
return getAnnouncedIpFromInterfaces()
}
export const createTransport = async (router, _isProducer = false, requestHost = undefined) => {
export const createTransport = async (router, requestHost = undefined) => {
const announcedIp = resolveAnnouncedIp(requestHost)
const listenIps = announcedIp
? [{ ip: '0.0.0.0', announcedIp }, { ip: '127.0.0.1' }]
@@ -94,7 +94,7 @@ export const createTransport = async (router, _isProducer = false, requestHost =
}
}
export const getTransport = (transportId) => transports.get(transportId)
export const getTransport = transportId => transports.get(transportId)
export const createProducer = async (transport, track) => {
const producer = await transport.produce({ track })
@@ -103,7 +103,7 @@ export const createProducer = async (transport, track) => {
return producer
}
export const getProducer = (producerId) => producers.get(producerId)
export const getProducer = producerId => producers.get(producerId)
export const getTransports = () => transports