i have a function in my api.cfc of coldbox and try...
# box-products
s
i have a function in my api.cfc of coldbox and trying to do router configration
Copy code
route(
            patten="/api/getusersInfo/{id}",
            target="api.getuserinfo/{id}"
        );
and getting this error called it like this http://127.0.0.1:544/Api/getusersInfo/1?fwreinit=1 The event: Api.getusersInfo is not a valid registered event.
b
I assume the argument to
route
is "pattern" and not "patten" like you show above.
✔️ 1