()
| 3194 | }; |
| 3195 | |
| 3196 | const statusOnce = async () => { |
| 3197 | const resp = await fetch(withBase(`/api/folder/encryptionJobStatus.php?jobId=${encodeURIComponent(jobId)}`), { credentials: 'include' }); |
| 3198 | return safeJson(resp); |
| 3199 | }; |
| 3200 | |
| 3201 | let latestJob = null; |
| 3202 | const tickWithHeartbeat = async () => { |