(checked)
| 5802 | async function exportData(format) { |
| 5803 | const data = await api("/api/export", { |
| 5804 | method: "POST", |
| 5805 | timeoutMs: API_TIMEOUT_LONG_MS, |
| 5806 | body: JSON.stringify({ user_id: currentUser(), format }) |
| 5807 | }); |
| 5808 | showSettingsMessage(ui().settings.exported(data.format, data.display_path || data.path, data.count || 0)); |
| 5809 | } |
| 5810 | |
| 5811 | async function saveProfile() { |