You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Today I created a middleware for testing and I passed as a simple conditional argument to be tested with the acler library, but before testing on a simple console.log I realized that my arguments were not coming as expected, I called the middleware 'meu' and I passed the following arguments (administrator || moderator). meu:(administrator || moderator)
As a direct result that comes from the parameters I had an array ['(administrator']
Apparently this occurs due to the haye library parsing.
Hi,
Today I created a middleware for testing and I passed as a simple conditional argument to be tested with the acler library, but before testing on a simple console.log I realized that my arguments were not coming as expected, I called the middleware 'meu' and I passed the following arguments (administrator || moderator).
meu:(administrator || moderator)As a direct result that comes from the parameters I had an array
['(administrator']Apparently this occurs due to the haye library parsing.
Is there a way to solve this?