mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-03 22:29:01 +02:00
Merge pull request #4040 from overleaf/ae-json-request-cleanup
Remove disableAutoLoginRedirect from fetchJSON requests GitOrigin-RevId: 97b606484f671db4f0591db0b77774e6af3ca5a8
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user