diff --git a/dashboard/pages/api/streaming.ts b/dashboard/pages/api/streaming.ts index 134219cd931f8..a77a165357b9f 100644 --- a/dashboard/pages/api/streaming.ts +++ b/dashboard/pages/api/streaming.ts @@ -103,9 +103,7 @@ export async function getSinks() { } export async function getSources() { - let sourceList: Source[] = (await api.get("/sources")).map( - Source.fromJSON - ) + let sourceList: Source[] = (await api.get("/sources")).map(Source.fromJSON) sourceList = sortBy(sourceList, (x) => x.id) return sourceList }