Closed freekrai closed 1 year ago
this PR fixes headers returning incorrect bearer token as:
if (this.directus.auth.token) { Object.assign(headers, { Authorization: `Bearer ${this.directus.auth.token}`, }); }
would set Bearer token as a promise rather than the actual token.
Bearer
this PR fixes headers returning incorrect bearer token as:
would set
Bearer
token as a promise rather than the actual token.