We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3f0a04 commit 0af599eCopy full SHA for 0af599e
app/assets/javascripts/requestjs.js
@@ -148,7 +148,7 @@ class FetchRequest {
148
} catch (error) {
149
console.error(error);
150
}
151
- const fetch = this.responseKind === "turbo-stream" && window.Turbo ? window.Turbo.fetch : window.fetch;
+ const fetch = window.Turbo ? window.Turbo.fetch : window.fetch;
152
const response = new FetchResponse(await fetch(this.url, this.fetchOptions));
153
if (response.unauthenticated && response.authenticationURL) {
154
return Promise.reject(window.location.href = response.authenticationURL);
0 commit comments