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
In this piece of code, it seems that the final request only respects the config object, which is the local request data, but it does not include this._options.transport.*
Preflight Checklist
Describe the Bug
According to the documentation, we can pass any headers and params upon initializing the Directus SDK
Doing so however has no effect.
I've checked the code and it seems that those parameters are ignored - https://github.com/directus/directus/blob/main/packages/sdk/src/base/directus.ts#L100
In this piece of code, it seems that the final request only respects the config object, which is the local request data, but it does not include
this._options.transport.*
To Reproduce
Errors Shown
No response
What version of Directus are you using?
9.0.0
What version of Node.js are you using?
16
What database are you using?
postgres
What browser are you using?
chrome
What operating system are you using?
macOS
How are you deploying Directus?
Docker
The text was updated successfully, but these errors were encountered: