We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c62deef + 2cbb6b2 commit e5dc0adCopy full SHA for e5dc0ad
1 file changed
src/APIResponder.jl
@@ -90,8 +90,8 @@ end
90
91
"""call the actual API method, and send the return value back as response"""
92
function call_api(api::APISpec, conn::APIResponder, args, data::Dict{Symbol,Any})
93
- try
94
- if !applicable(api.fn, args...)
+ try
+ if !applicable(api.fn, args...) || ((api.fn === (*) || api.fn === (/) || api.fn === (\)) && all(x->isa(x,Vector), args))
95
narrow_args!(args)
96
end
97
result = dynamic_invoke(conn, api.fn, args...; data...)
0 commit comments