Skip to content

Commit

Permalink
include user logins in requests
Browse files Browse the repository at this point in the history
  • Loading branch information
howardchung committed Jan 15, 2024
1 parent 0283849 commit 14625f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default function action(type, host, path, params = {}, transform) {
type: `ERROR/${type}`,
error,
});
const fetchDataWithRetry = delay => fetch(url, path === 'api/metadata' ? { credentials: 'include' } : {})
const fetchDataWithRetry = delay => fetch(url, { credentials: 'include' })
.then((response) => {
if (!response.ok || !response.status) {
const err = new Error();
Expand Down

0 comments on commit 14625f4

Please sign in to comment.