Skip to content

Invidious is an alternative front-end to YouTube

Remove instance of the * operator in macro expr

syeopite8ce91166d66f
diff --git a/src/invidious/helpers/errors.cr b/src/invidious/helpers/errors.cr
index a94a1991..70850063 100644
--- a/src/invidious/helpers/errors.cr
+++ b/src/invidious/helpers/errors.cr
@@ -121,7 +121,7 @@ end
# -------------------
macro error_json(*args)
- error_json_helper(env, {{*args}})
+ error_json_helper(env, {{args.splat}})
end
def error_json_helper(