mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #4040 from overleaf/ae-json-request-cleanup
Remove disableAutoLoginRedirect from fetchJSON requests GitOrigin-RevId: 97b606484f671db4f0591db0b77774e6af3ca5a8
This commit is contained in:
parent
8c3578e74b
commit
4f20319167
1 changed files with 1 additions and 3 deletions
|
@ -66,9 +66,7 @@ export default function BinaryFileHeader({ file, storeReferencesKeys }) {
|
|||
setRefreshing(true)
|
||||
// Replacement of the file handled by the file tree
|
||||
window.expectingLinkedFileRefreshedSocketFor = file.name
|
||||
postJSON(`/project/${window.project_id}/linked_file/${file.id}/refresh`, {
|
||||
disableAutoLoginRedirect: true,
|
||||
})
|
||||
postJSON(`/project/${window.project_id}/linked_file/${file.id}/refresh`)
|
||||
.then(() => {
|
||||
if (isMounted.current) {
|
||||
setRefreshing(false)
|
||||
|
|
Loading…
Reference in a new issue