Replies: 1 comment
-
So am I. :/ |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a middleware in a multitenant app that switches databases depending on the request subdomain:
I'm using Database.manager.patch to change the database name (everything else is the same) between tenants. However, I get an error on some requests:
The error seems specifically related to the patch function because 1) when I manually set the database to my test tenants' in my database config, everything works as expected, and 2) when I prove the exact same database config to the patch function, the error returns.
I am using AdonisJS v5.
Beta Was this translation helpful? Give feedback.
All reactions