Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Remove unused method

Leendert de Borstac95ff5dd852
diff --git a/apps/server/AliasVault.Admin/wwwroot/js/utilities.js b/apps/server/AliasVault.Admin/wwwroot/js/utilities.js
index 65685b833..3203b9ae5 100644
--- a/apps/server/AliasVault.Admin/wwwroot/js/utilities.js
+++ b/apps/server/AliasVault.Admin/wwwroot/js/utilities.js
@@ -1,15 +1,3 @@
-function downloadFileFromStream(fileName, contentStreamReference) {
- const arrayBuffer = new Uint8Array(contentStreamReference).buffer;
- const blob = new Blob([arrayBuffer]);
- const url = URL.createObjectURL(blob);
- const anchorElement = document.createElement('a');
- anchorElement.href = url;
- anchorElement.download = fileName ?? '';
- anchorElement.click();
- anchorElement.remove();
- URL.revokeObjectURL(url);
-}
-
window.initTopMenu = function() {
initDarkModeSwitcher();
};