Ookma-Kyi
09/12/2022, 7:19 PMNo matching Method/Function for user defined function (auth).user() found
. Here is a snip of the code I am using as well as all related error logs and stacks( https://bitbucket.org/ookma-kyi/workspace/snippets/6EyeMx ). What's weird is I copied and pasted that portion of the code from another module. The other component I copied and pasted from works but not this one. I double checked and yes I am injecting the auth
dependency inside my component.
Sorry about having no syntax highlighting, Bitbucket doesn't have any for ColdFusion. Trying to end the file with the extension .cfc defaults to C. 😢Adam Cameron
No matching Method/Function for user defined function (auth).user() found
Ookma-Kyi
09/12/2022, 7:25 PMOokma-Kyi
09/12/2022, 7:26 PMproperty name="notificationpreference";
?elpete
09/12/2022, 7:27 PMauth
when the helper auth()
was also injected. Try deleting your auth
injection and use auth()
instead.elpete
09/12/2022, 7:27 PMauth()
function to handlers and interceptors.Adam Cameron
It shouldn't be behind a login, but will move it to a gist on github.Ah, it might be because I am logged in to bitbucket, and it's going "that's not your code". If I open in an incognito browser it's fine, I can see it.
Adam Cameron
Adam Cameron