From 9826cf05455a83455a115dc0faa560317ee9f7e6 Mon Sep 17 00:00:00 2001 From: Ryan Tharp Date: Sun, 9 Feb 2020 23:56:47 -0800 Subject: [PATCH] use now static version of uploadPrivateAttachment --- js/modules/web_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/modules/web_api.js b/js/modules/web_api.js index 7d446bace..c92681b05 100644 --- a/js/modules/web_api.js +++ b/js/modules/web_api.js @@ -865,7 +865,7 @@ function initialize({ filename: 'attachment', }); - return lokiFileServerAPI.uploadPrivateAttachment(formData); + return lokiFileServerAPI.constructor.uploadPrivateAttachment(formData); } function putAvatar(bin) {