Add option to export and import database without encryption

This commit is contained in:
thePR0M3TH3AN committed 2025-08-20 21:00:12 -04:00
1 parent b33565e7f3
commit 6c8b1928b8
8 files changed
+151 -32

No files matched your search

+1 -1
View File
@@ -378,7 +378,7 @@ async def test_vault_export_endpoint(client, tmp_path):
out = tmp_path / "out.json"
out.write_text("data")
api.app.state.pm.handle_export_database = lambda: out
api.app.state.pm.handle_export_database = lambda *a, **k: out
headers = {
"Authorization": f"Bearer {token}",