79139139

Date: 2024-10-29 22:16:47
Score: 1
Natty:
Report link

Most likely the middleware is registered more than once or that query expression is being applied by another part of your application.

You can try commenting out that query and see if the where clause is still added to the query.

Additionally, you can give your anonymous global scopes a name. That should prevent the same scope from being added twice.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: offtehcuff