From a13bbfcd2a8a3f70b3ea980fef15dcdcd53d5703 Mon Sep 17 00:00:00 2001 From: Essk Date: Mon, 23 Jan 2023 14:26:42 +0000 Subject: [PATCH] Update src/js/tech/middleware.js per feedback Co-authored-by: Gary Katsevman --- src/js/tech/middleware.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/tech/middleware.js b/src/js/tech/middleware.js index 7064339e6..b47f3ab1f 100644 --- a/src/js/tech/middleware.js +++ b/src/js/tech/middleware.js @@ -92,7 +92,7 @@ export function setSource(player, src, next) { * @return {Tech~SourceObject} * A source object. */ -export function currentSource(src, middleware) { +export function currentSource(middleware, src) { return middleware.reduceRight(middlewareIterator('currentSource'), src); }